You are here

public function WorkflowTypeConfigureFormBase::setPlugin in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/workflows/src/Plugin/WorkflowTypeConfigureFormBase.php \Drupal\workflows\Plugin\WorkflowTypeConfigureFormBase::setPlugin()

Sets the plugin for this object.

Parameters

\Drupal\Component\Plugin\PluginInspectionInterface $plugin: The plugin.

Overrides PluginAwareInterface::setPlugin

File

core/modules/workflows/src/Plugin/WorkflowTypeConfigureFormBase.php, line 28

Class

WorkflowTypeConfigureFormBase
A base class for workflow type configuration forms.

Namespace

Drupal\workflows\Plugin

Code

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