You are here

public function LayoutTestPlugin::defaultConfiguration in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/system/tests/modules/layout_test/src/Plugin/Layout/LayoutTestPlugin.php \Drupal\layout_test\Plugin\Layout\LayoutTestPlugin::defaultConfiguration()
  2. 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\Layout

Code

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