You are here

public function ModerationStateTransitionForm::__construct in Workbench Moderation 8.2

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

Constructs a new ModerationStateTransitionForm.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager:

File

src/Form/ModerationStateTransitionForm.php, line 33

Class

ModerationStateTransitionForm
Class ModerationStateTransitionForm.

Namespace

Drupal\workbench_moderation\Form

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, QueryFactory $query_factory) {
  $this->entityTypeManager = $entity_type_manager;
  $this->queryFactory = $query_factory;
}