function Workflow::getTypePlugin
Same name in other branches
- 9 core/modules/workflows/src/Entity/Workflow.php \Drupal\workflows\Entity\Workflow::getTypePlugin()
- 8.9.x core/modules/workflows/src/Entity/Workflow.php \Drupal\workflows\Entity\Workflow::getTypePlugin()
- 10 core/modules/workflows/src/Entity/Workflow.php \Drupal\workflows\Entity\Workflow::getTypePlugin()
Overrides WorkflowInterface::getTypePlugin
1 call to Workflow::getTypePlugin()
- Workflow::preSave in core/
modules/ workflows/ src/ Entity/ Workflow.php - Acts on an entity before the presave hook is invoked.
File
-
core/
modules/ workflows/ src/ Entity/ Workflow.php, line 120
Class
- Workflow
- Defines the workflow entity.
Namespace
Drupal\workflows\EntityCode
public function getTypePlugin() {
return $this->getPluginCollection()
->get($this->type);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.