You are here

public function LayoutBase::defaultConfiguration in Layout Plugin (obsolete, use core's Layout Discovery) 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConfigurablePluginInterface::defaultConfiguration

3 calls to LayoutBase::defaultConfiguration()
LayoutBase::getConfiguration in src/Plugin/Layout/LayoutBase.php
Gets this plugin's configuration.
LayoutExampleTest::defaultConfiguration in modules/layout_plugin_example/src/Plugin/Layout/LayoutExampleTest.php
Gets default configuration for this plugin.
LayoutTestPlugin::defaultConfiguration in tests/modules/layout_test/src/Plugin/Layout/LayoutTestPlugin.php
Gets default configuration for this plugin.
2 methods override LayoutBase::defaultConfiguration()
LayoutExampleTest::defaultConfiguration in modules/layout_plugin_example/src/Plugin/Layout/LayoutExampleTest.php
Gets default configuration for this plugin.
LayoutTestPlugin::defaultConfiguration in tests/modules/layout_test/src/Plugin/Layout/LayoutTestPlugin.php
Gets default configuration for this plugin.

File

src/Plugin/Layout/LayoutBase.php, line 168

Class

LayoutBase
Provides a base class for Layout plugins.

Namespace

Drupal\layout_plugin\Plugin\Layout

Code

public function defaultConfiguration() {
  return [];
}