public function LayoutExampleTest::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
- modules/
layout_plugin_example/ src/ Plugin/ Layout/ LayoutExampleTest.php, line 37
Class
- LayoutExampleTest
- The plugin that handles the default layout template.
Namespace
Drupal\layout_plugin_example\Plugin\LayoutCode
public function defaultConfiguration() {
return parent::defaultConfiguration() + [
'setting_1' => 'Default',
];
}