function LayoutTestPlugin::defaultConfiguration

Same name in other branches
  1. 9 core/modules/system/tests/modules/layout_test/src/Plugin/Layout/LayoutTestPlugin.php \Drupal\layout_test\Plugin\Layout\LayoutTestPlugin::defaultConfiguration()
  2. 8.9.x core/modules/system/tests/modules/layout_test/src/Plugin/Layout/LayoutTestPlugin.php \Drupal\layout_test\Plugin\Layout\LayoutTestPlugin::defaultConfiguration()
  3. 10 core/modules/system/tests/modules/layout_test/src/Plugin/Layout/LayoutTestPlugin.php \Drupal\layout_test\Plugin\Layout\LayoutTestPlugin::defaultConfiguration()

Overrides LayoutDefault::defaultConfiguration

File

core/modules/system/tests/modules/layout_test/src/Plugin/Layout/LayoutTestPlugin.php, line 33

Class

LayoutTestPlugin
The plugin that handles the default layout template.

Namespace

Drupal\layout_test\Plugin\Layout

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.