You are here

public function LayoutDefault::defaultConfiguration in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Layout/LayoutDefault.php \Drupal\Core\Layout\LayoutDefault::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

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 72

Class

LayoutDefault
Provides a default class for Layout plugins.

Namespace

Drupal\Core\Layout

Code

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