function ConfigurableInterface::setConfiguration

Same name in other branches
  1. 8.9.x core/lib/Drupal/Component/Plugin/ConfigurableInterface.php \Drupal\Component\Plugin\ConfigurableInterface::setConfiguration()
  2. 10 core/lib/Drupal/Component/Plugin/ConfigurableInterface.php \Drupal\Component\Plugin\ConfigurableInterface::setConfiguration()
  3. 11.x 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.

15 methods override ConfigurableInterface::setConfiguration()
ConditionPluginBase::setConfiguration in core/lib/Drupal/Core/Condition/ConditionPluginBase.php
Sets the configuration for this plugin instance.
ConfigurableActionBase::setConfiguration in core/lib/Drupal/Core/Action/ConfigurableActionBase.php
Sets the configuration for this plugin instance.
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.
DefaultProcessor::setConfiguration in core/modules/aggregator/src/Plugin/aggregator/processor/DefaultProcessor.php
Sets the configuration for this plugin instance.

... See full list

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

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