public function PluginCollectionItemBase::setContainedPluginConfiguration in Plugin 8.2
Sets the plugin configuration.
Parameters
mixed[] $plugin_configuration:
Return value
$this
Overrides PluginCollectionItemInterface::setContainedPluginConfiguration
Deprecated
Deprecated as of 8.x-2.0 and scheduled for removal before 8.x-3.0. Use static::getContainedPluginInstance()->setConfiguration() instead.
1 call to PluginCollectionItemBase::setContainedPluginConfiguration()
- PluginCollectionItemBase::setValue in src/
Plugin/ Field/ FieldType/ PluginCollectionItemBase.php - Sets the data value.
File
- src/
Plugin/ Field/ FieldType/ PluginCollectionItemBase.php, line 108
Class
- PluginCollectionItemBase
- Provides a base for plugin collection field items.
Namespace
Drupal\plugin\Plugin\Field\FieldTypeCode
public function setContainedPluginConfiguration(array $configuration) {
$this
->get('plugin_configuration')
->setValue($configuration);
return $this;
}