public function WorkflowTypeStateFormBase::setPlugin in Drupal 10
Same name and namespace in other branches
- 8 core/modules/workflows/src/Plugin/WorkflowTypeStateFormBase.php \Drupal\workflows\Plugin\WorkflowTypeStateFormBase::setPlugin()
- 9 core/modules/workflows/src/Plugin/WorkflowTypeStateFormBase.php \Drupal\workflows\Plugin\WorkflowTypeStateFormBase::setPlugin()
Sets the plugin for this object.
Parameters
\Drupal\Component\Plugin\PluginInspectionInterface $plugin: The plugin.
Overrides PluginAwareInterface::setPlugin
File
- core/
modules/ workflows/ src/ Plugin/ WorkflowTypeStateFormBase.php, line 28
Class
- WorkflowTypeStateFormBase
- A base class for workflow type state forms.
Namespace
Drupal\workflows\PluginCode
public function setPlugin(PluginInspectionInterface $plugin) {
$this->workflowType = $plugin;
}