public function TestLazyPluginCollection::setConfiguration in Drupal 9
Same name and namespace in other branches
- 8 core/modules/system/tests/modules/plugin_test/src/Plugin/TestLazyPluginCollection.php \Drupal\plugin_test\Plugin\TestLazyPluginCollection::setConfiguration()
Sets the configuration for all plugins in this collection.
Parameters
array $configuration: An array of up-to-date plugin configuration.
Return value
$this
Overrides LazyPluginCollection::setConfiguration
File
- core/
modules/ system/ tests/ modules/ plugin_test/ src/ Plugin/ TestLazyPluginCollection.php, line 50
Class
- TestLazyPluginCollection
- Defines a plugin collection which uses fruit plugins.
Namespace
Drupal\plugin_test\PluginCode
public function setConfiguration($configuration) {
return $this;
}