public function PluginHierarchyDefinitionInterface::setParentId in Plugin 8.2
Sets the ID of the parent plugin.
Parameters
string $id: The ID.
Return value
$this
1 method overrides PluginHierarchyDefinitionInterface::setParentId()
- ArrayPluginDefinitionDecorator::setParentId in src/
PluginDefinition/ ArrayPluginDefinitionDecorator.php - Sets the ID of the parent plugin.
File
- src/
PluginDefinition/ PluginHierarchyDefinitionInterface.php, line 20
Class
- PluginHierarchyDefinitionInterface
- Defines a plugin definition that defines a parent plugin.
Namespace
Drupal\plugin\PluginDefinitionCode
public function setParentId($id);