function WorkflowListBuilder::__construct
Same name in other branches
- 9 core/modules/workflows/src/WorkflowListBuilder.php \Drupal\workflows\WorkflowListBuilder::__construct()
- 10 core/modules/workflows/src/WorkflowListBuilder.php \Drupal\workflows\WorkflowListBuilder::__construct()
- 11.x core/modules/workflows/src/WorkflowListBuilder.php \Drupal\workflows\WorkflowListBuilder::__construct()
Constructs a new WorkflowListBuilder object.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.
\Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage class.
\Drupal\Component\Plugin\PluginManagerInterface $workflow_type_manager: The workflow type plugin manager.
Overrides EntityListBuilder::__construct
File
-
core/
modules/ workflows/ src/ WorkflowListBuilder.php, line 46
Class
- WorkflowListBuilder
- Provides a listing of Workflow entities.
Namespace
Drupal\workflowsCode
public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, PluginManagerInterface $workflow_type_manager) {
parent::__construct($entity_type, $storage);
$this->workflowTypeManager = $workflow_type_manager;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.