You are here

public function ConfigurablePlugin::defaultConfiguration in Drupal 8

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Core/Plugin/DefaultSingleLazyPluginCollectionTest.php \Drupal\Tests\Core\Plugin\ConfigurablePlugin::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConfigurableInterface::defaultConfiguration

1 call to ConfigurablePlugin::defaultConfiguration()
ConfigurablePlugin::__construct in core/tests/Drupal/Tests/Core/Plugin/DefaultSingleLazyPluginCollectionTest.php
Constructs a \Drupal\Component\Plugin\PluginBase object.

File

core/tests/Drupal/Tests/Core/Plugin/DefaultSingleLazyPluginCollectionTest.php, line 83

Class

ConfigurablePlugin

Namespace

Drupal\Tests\Core\Plugin

Code

public function defaultConfiguration() {
  return [];
}