function WorkflowTypeBase::__construct
Same name in other branches
- 9 core/modules/workflows/src/Plugin/WorkflowTypeBase.php \Drupal\workflows\Plugin\WorkflowTypeBase::__construct()
- 8.9.x core/modules/workflows/src/Plugin/WorkflowTypeBase.php \Drupal\workflows\Plugin\WorkflowTypeBase::__construct()
- 11.x core/modules/workflows/src/Plugin/WorkflowTypeBase.php \Drupal\workflows\Plugin\WorkflowTypeBase::__construct()
Overrides PluginBase::__construct
1 call to WorkflowTypeBase::__construct()
- ContentModeration::__construct in core/
modules/ content_moderation/ src/ Plugin/ WorkflowType/ ContentModeration.php - Constructs a ContentModeration object.
1 method overrides WorkflowTypeBase::__construct()
- ContentModeration::__construct in core/
modules/ content_moderation/ src/ Plugin/ WorkflowType/ ContentModeration.php - Constructs a ContentModeration object.
File
-
core/
modules/ workflows/ src/ Plugin/ WorkflowTypeBase.php, line 31
Class
- WorkflowTypeBase
- A base class for Workflow type plugins.
Namespace
Drupal\workflows\PluginCode
public function __construct(array $configuration, $plugin_id, $plugin_definition) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->setConfiguration($configuration);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.