function ConfigurableInterface::defaultConfiguration

Same name in other branches
  1. 9 core/lib/Drupal/Component/Plugin/ConfigurableInterface.php \Drupal\Component\Plugin\ConfigurableInterface::defaultConfiguration()
  2. 8.9.x core/lib/Drupal/Component/Plugin/ConfigurableInterface.php \Drupal\Component\Plugin\ConfigurableInterface::defaultConfiguration()
  3. 11.x core/lib/Drupal/Component/Plugin/ConfigurableInterface.php \Drupal\Component\Plugin\ConfigurableInterface::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

13 methods override ConfigurableInterface::defaultConfiguration()
ConditionPluginBase::defaultConfiguration in core/lib/Drupal/Core/Condition/ConditionPluginBase.php
ConfigurableActionBase::defaultConfiguration in core/lib/Drupal/Core/Action/ConfigurableActionBase.php
ConfigurablePlugin::defaultConfiguration in core/tests/Drupal/Tests/Core/Plugin/DefaultSingleLazyPluginCollectionTest.php
ConfigurableSearchPluginBase::defaultConfiguration in core/modules/search/src/Plugin/ConfigurableSearchPluginBase.php
Gets default configuration for this plugin.
FilterBase::defaultConfiguration in core/modules/filter/src/Plugin/FilterBase.php
Gets default configuration for this plugin.

... See full list

File

core/lib/Drupal/Component/Plugin/ConfigurableInterface.php, line 34

Class

ConfigurableInterface
Provides an interface for a configurable plugin.

Namespace

Drupal\Component\Plugin

Code

public function defaultConfiguration();

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