public function WorkflowTypeBase::__construct in Drupal 9
Same name and namespace in other branches
- 8 core/modules/workflows/src/Plugin/WorkflowTypeBase.php \Drupal\workflows\Plugin\WorkflowTypeBase::__construct()
- 10 core/modules/workflows/src/Plugin/WorkflowTypeBase.php \Drupal\workflows\Plugin\WorkflowTypeBase::__construct()
Constructs a \Drupal\Component\Plugin\PluginBase object.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin_id for the plugin instance.
mixed $plugin_definition: The plugin implementation definition.
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);
}