function ConfigurablePluginInterface::setConfiguration

Sets the configuration for this plugin instance.

Parameters

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

1 method overrides ConfigurablePluginInterface::setConfiguration()
ConfigurablePluginInterfaceTestClass::setConfiguration in core/tests/Drupal/Tests/Component/Plugin/ConfigurablePluginInterfaceTest.php
Sets the configuration for this plugin instance.

File

core/lib/Drupal/Component/Plugin/ConfigurablePluginInterface.php, line 35

Class

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