function WorkflowTypeStateFormBase::setPlugin

Same name in other branches
  1. 9 core/modules/workflows/src/Plugin/WorkflowTypeStateFormBase.php \Drupal\workflows\Plugin\WorkflowTypeStateFormBase::setPlugin()
  2. 10 core/modules/workflows/src/Plugin/WorkflowTypeStateFormBase.php \Drupal\workflows\Plugin\WorkflowTypeStateFormBase::setPlugin()
  3. 11.x core/modules/workflows/src/Plugin/WorkflowTypeStateFormBase.php \Drupal\workflows\Plugin\WorkflowTypeStateFormBase::setPlugin()

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\Plugin

Code

public function setPlugin(PluginInspectionInterface $plugin) {
    $this->workflowType = $plugin;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.