Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. MultiWidthLayoutBase.php

function MultiWidthLayoutBase::defaultConfiguration

Overrides LayoutDefault::defaultConfiguration

File

core/modules/layout_builder/src/Plugin/Layout/MultiWidthLayoutBase.php, line 17

Class

MultiWidthLayoutBase
Base class of layouts with configurable widths.

Namespace

Drupal\layout_builder\Plugin\Layout

Code

public function defaultConfiguration() {
    $configuration = parent::defaultConfiguration();
    return $configuration + [
        'column_widths' => $this->getDefaultWidth(),
    ];
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal