You are here

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

Gets this plugin's configuration.

Return value

array An array of this plugin's configuration.

Overrides ConfigurablePluginInterface::getConfiguration

3 calls to LayoutBase::getConfiguration()
LayoutBase::build in src/Plugin/Layout/LayoutBase.php
Build a render array for layout with regions.
LayoutExampleTest::buildConfigurationForm in modules/layout_plugin_example/src/Plugin/Layout/LayoutExampleTest.php
Form constructor.
LayoutTestPlugin::buildConfigurationForm in tests/modules/layout_test/src/Plugin/Layout/LayoutTestPlugin.php
Form constructor.

File

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

Class

LayoutBase
Provides a base class for Layout plugins.

Namespace

Drupal\layout_plugin\Plugin\Layout

Code

public function getConfiguration() {
  return array_merge($this
    ->defaultConfiguration(), $this->configuration);
}