function ConfigurableInterface::setConfiguration

Same name and namespace 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.

5 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.
LayoutDefault::setConfiguration in core/lib/Drupal/Core/Layout/LayoutDefault.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.
VariantBase::setConfiguration in core/lib/Drupal/Core/Display/VariantBase.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);

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