You are here

abstract public function LazyPluginCollection::setConfiguration in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Component/Plugin/LazyPluginCollection.php \Drupal\Component\Plugin\LazyPluginCollection::setConfiguration()
  2. 9 core/lib/Drupal/Component/Plugin/LazyPluginCollection.php \Drupal\Component\Plugin\LazyPluginCollection::setConfiguration()

Sets the configuration for all plugins in this collection.

Parameters

array $configuration: An array of up-to-date plugin configuration.

Return value

$this

1 method overrides LazyPluginCollection::setConfiguration()
TestLazyPluginCollection::setConfiguration in core/modules/system/tests/modules/plugin_test/src/Plugin/TestLazyPluginCollection.php
Sets the configuration for all plugins in this collection.

File

core/lib/Drupal/Component/Plugin/LazyPluginCollection.php, line 50

Class

LazyPluginCollection
Defines an object which stores multiple plugin instances to lazy load them.

Namespace

Drupal\Component\Plugin

Code

public abstract function setConfiguration($configuration);