public function ArrayPluginDefinitionDecorator::getParentId in Plugin 8.2
Gets the ID of the parent plugin.
Return value
string|null The ID or NULL if there is no parent.
Overrides PluginHierarchyDefinitionInterface::getParentId
File
- src/
PluginDefinition/ ArrayPluginDefinitionDecorator.php, line 354
Class
- ArrayPluginDefinitionDecorator
- Provides a plugin definition based on an array.
Namespace
Drupal\plugin\PluginDefinitionCode
public function getParentId() {
return isset($this->arrayDefinition['parent_id']) ? $this->arrayDefinition['parent_id'] : NULL;
}