public function PluginCollectionItemBase::resetContainedPluginInstance in Plugin 8.2
Resets the instantiated plugin.
Return value
$this
Overrides PluginCollectionItemInterface::resetContainedPluginInstance
File
- src/
Plugin/ Field/ FieldType/ PluginCollectionItemBase.php, line 75
Class
- PluginCollectionItemBase
- Provides a base for plugin collection field items.
Namespace
Drupal\plugin\Plugin\Field\FieldTypeCode
public function resetContainedPluginInstance() {
$this
->get('plugin_instance')
->applyDefaultValue();
return $this;
}