You are here

public function LayoutDefault::defaultConfiguration in Drupal 8

Same name and namespace in other branches
  1. 9 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.
3 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.
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 67

Class

LayoutDefault
Provides a default class for Layout plugins.

Namespace

Drupal\Core\Layout

Code

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