Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. LazyPluginCollection.php

function 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

2 methods override LazyPluginCollection::setConfiguration()
DefaultLazyPluginCollection::setConfiguration in core/lib/Drupal/Core/Plugin/DefaultLazyPluginCollection.php
Sets the configuration for all plugins in this collection.
DefaultSingleLazyPluginCollection::setConfiguration in core/lib/Drupal/Core/Plugin/DefaultSingleLazyPluginCollection.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(array $configuration);
RSS feed
Powered by Drupal