Same name and namespace in other branches
  1. 8.9.x core/tests/Drupal/Tests/Core/Plugin/DefaultSingleLazyPluginCollectionTest.php \Drupal\Tests\Core\Plugin\ConfigurablePlugin::defaultConfiguration()
  2. 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 118

Class

ConfigurablePlugin

Namespace

Drupal\Tests\Core\Plugin

Code

public function defaultConfiguration() {
  return [];
}