You are here

public function PluginCollectionItemInterface::getContainedPluginInstance in Plugin 8.2

Gets the instantiated plugin.

Return value

\Drupal\Component\Plugin\PluginInspectionInterface|null The plugin or NULL if no plugin was set yet.

1 method overrides PluginCollectionItemInterface::getContainedPluginInstance()
PluginCollectionItemBase::getContainedPluginInstance in src/Plugin/Field/FieldType/PluginCollectionItemBase.php
Gets the instantiated plugin.

File

src/Plugin/Field/FieldType/PluginCollectionItemInterface.php, line 54

Class

PluginCollectionItemInterface
Defines a plugin collection field item.

Namespace

Drupal\plugin\Plugin\Field\FieldType

Code

public function getContainedPluginInstance();