You are here

public function LayoutTestPlugin::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 LayoutBase::defaultConfiguration

File

tests/modules/layout_test/src/Plugin/Layout/LayoutTestPlugin.php, line 31

Class

LayoutTestPlugin
The plugin that handles the default layout template.

Namespace

Drupal\layout_test\Plugin\Layout

Code

public function defaultConfiguration() {
  return parent::defaultConfiguration() + [
    'setting_1' => 'Default',
  ];
}