You are here

public function ConfigurableInterface::defaultConfiguration in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Component/Plugin/ConfigurableInterface.php \Drupal\Component\Plugin\ConfigurableInterface::defaultConfiguration()
  2. 9 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.

3 methods override ConfigurableInterface::defaultConfiguration()
ConfigurablePlugin::defaultConfiguration in core/tests/Drupal/Tests/Core/Plugin/DefaultSingleLazyPluginCollectionTest.php
Gets default configuration for this plugin.
ConfigurableSearchPluginBase::defaultConfiguration in core/modules/search/src/Plugin/ConfigurableSearchPluginBase.php
Gets default configuration for this plugin.
SelectionPluginBase::defaultConfiguration in core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionPluginBase.php
Gets default configuration for this plugin.

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();