function ConfigurableInterface::setConfiguration

Same name and namespace in other branches
  1. 11.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. 8.9.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.

1 method overrides ConfigurableInterface::setConfiguration()
MediaSourceBase::setConfiguration in core/modules/media/src/MediaSourceBase.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.