You are here

public function ConfigurableInterface::setConfiguration in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Component/Plugin/ConfigurableInterface.php \Drupal\Component\Plugin\ConfigurableInterface::setConfiguration()
  2. 9 core/lib/Drupal/Component/Plugin/ConfigurableInterface.php \Drupal\Component\Plugin\ConfigurableInterface::setConfiguration()

Sets the configuration for this plugin instance.

Parameters

array $configuration: An associative array containing the plugin's configuration.

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

File

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

Class

ConfigurableInterface
Provides an interface for a configurable plugin.

Namespace

Drupal\Component\Plugin

Code

public function setConfiguration(array $configuration);