You are here

public function PluginCollectionItemBase::getContainedPluginConfiguration in Plugin 8.2

Sets the plugin configuration.

Return value

mixed[]

Overrides PluginCollectionItemInterface::getContainedPluginConfiguration

Deprecated

Deprecated as of 8.x-2.0 and scheduled for removal before 8.x-3.0. Use static::getContainedPluginInstance()->getConfiguration() instead.

File

src/Plugin/Field/FieldType/PluginCollectionItemBase.php, line 101

Class

PluginCollectionItemBase
Provides a base for plugin collection field items.

Namespace

Drupal\plugin\Plugin\Field\FieldType

Code

public function getContainedPluginConfiguration() {
  return $this
    ->get('plugin_configuration')
    ->getValue();
}