function ConfigurableTestClass::defaultConfiguration
Same name and namespace in other branches
- 11.x core/tests/Drupal/Tests/Core/Plugin/ConfigurableTraitTest.php \Drupal\Tests\Core\Plugin\ConfigurableTestClass::defaultConfiguration()
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides ConfigurableInterface::defaultConfiguration
File
-
core/
tests/ Drupal/ Tests/ Core/ Plugin/ ConfigurableTraitTest.php, line 195
Class
- ConfigurableTestClass
- A test class using ConfigurablePluginTrait that can modify the de.
Namespace
Drupal\Tests\Core\PluginCode
public function defaultConfiguration() : array {
return $this->defaultConfiguration ?? $this->traitDefaultConfiguration();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.