function ConfigurableInterface::setConfiguration

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

13 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
ConfigurablePlugin::setConfiguration in core/tests/Drupal/Tests/Core/Plugin/DefaultSingleLazyPluginCollectionTest.php
ConfigurableSearchPluginBase::setConfiguration in core/modules/search/src/Plugin/ConfigurableSearchPluginBase.php
Sets the configuration for this plugin instance.
FilterBase::setConfiguration in core/modules/filter/src/Plugin/FilterBase.php

... 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.