public function LayoutTestPlugin::defaultConfiguration in Drupal 10
Same name and namespace in other branches
- 8 core/modules/system/tests/modules/layout_test/src/Plugin/Layout/LayoutTestPlugin.php \Drupal\layout_test\Plugin\Layout\LayoutTestPlugin::defaultConfiguration()
- 9 core/modules/system/tests/modules/layout_test/src/Plugin/Layout/LayoutTestPlugin.php \Drupal\layout_test\Plugin\Layout\LayoutTestPlugin::defaultConfiguration()
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides LayoutDefault::defaultConfiguration
File
- core/
modules/ system/ tests/ modules/ layout_test/ src/ Plugin/ Layout/ LayoutTestPlugin.php, line 30
Class
- LayoutTestPlugin
- The plugin that handles the default layout template.
Namespace
Drupal\layout_test\Plugin\LayoutCode
public function defaultConfiguration() {
return [
'setting_1' => 'Default',
];
}