function LayoutDefault::defaultConfiguration

Same name in other branches
  1. 9 core/lib/Drupal/Core/Layout/LayoutDefault.php \Drupal\Core\Layout\LayoutDefault::defaultConfiguration()
  2. 8.9.x core/lib/Drupal/Core/Layout/LayoutDefault.php \Drupal\Core\Layout\LayoutDefault::defaultConfiguration()
  3. 10 core/lib/Drupal/Core/Layout/LayoutDefault.php \Drupal\Core\Layout\LayoutDefault::defaultConfiguration()

Overrides ConfigurableInterface::defaultConfiguration

2 calls to LayoutDefault::defaultConfiguration()
LayoutDefault::setConfiguration in core/lib/Drupal/Core/Layout/LayoutDefault.php
Sets the configuration for this plugin instance.
MultiWidthLayoutBase::defaultConfiguration in core/modules/layout_builder/src/Plugin/Layout/MultiWidthLayoutBase.php
Gets default configuration for this plugin.
4 methods override LayoutDefault::defaultConfiguration()
LayoutTestPlugin::defaultConfiguration in core/modules/system/tests/modules/layout_test/src/Plugin/Layout/LayoutTestPlugin.php
Gets default configuration for this plugin.
LayoutWithoutLabel::defaultConfiguration in core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Layout/LayoutWithoutLabel.php
Gets default configuration for this plugin.
MultiWidthLayoutBase::defaultConfiguration in core/modules/layout_builder/src/Plugin/Layout/MultiWidthLayoutBase.php
Gets default configuration for this plugin.
TestLayoutMainFooter::defaultConfiguration in core/modules/field_layout/tests/modules/field_layout_test/src/Plugin/Layout/TestLayoutMainFooter.php
Gets default configuration for this plugin.

File

core/lib/Drupal/Core/Layout/LayoutDefault.php, line 81

Class

LayoutDefault
Provides a default class for Layout plugins.

Namespace

Drupal\Core\Layout

Code

public function defaultConfiguration() {
    return [
        'label' => '',
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.