You are here

public function ConfigurablePluginInterface::setConfiguration in Drupal 8

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