You are here

public function ModerationStateTransitionListBuilder::__construct in Workbench Moderation 8.2

Same name and namespace in other branches
  1. 8 src/ModerationStateTransitionListBuilder.php \Drupal\workbench_moderation\ModerationStateTransitionListBuilder::__construct()

Constructs a new ModerationStateTransitionListBuilder.

Parameters

\Drupal\Core\Entity\EntityTypeInterface $entity_type:

\Drupal\Core\Entity\EntityStorageInterface $transition_storage:

\Drupal\Core\Entity\EntityStorageInterface $state_storage:

Overrides DraggableListBuilder::__construct

File

src/ModerationStateTransitionListBuilder.php, line 39

Class

ModerationStateTransitionListBuilder
Provides a listing of Moderation state transition entities.

Namespace

Drupal\workbench_moderation

Code

public function __construct(EntityTypeInterface $entity_type, EntityStorageInterface $transition_storage, EntityStorageInterface $state_storage) {
  parent::__construct($entity_type, $transition_storage);
  $this->stateStorage = $state_storage;
}