ModerationStateTransitionForm::__construct

public ModerationStateTransitionForm::__construct(EntityTypeManagerInterface $entity_type_manager, QueryFactory $query_factory)

Constructs a new ModerationStateTransitionForm.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

\Drupal\Core\Entity\Query\QueryFactory $query_factory: The entity query factory.

File

core/modules/content_moderation/src/Form/ModerationStateTransitionForm.php, line 40

Class

ModerationStateTransitionForm
Class ModerationStateTransitionForm.

Namespace

Drupal\content_moderation\Form

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, QueryFactory $query_factory) {
  $this->entityTypeManager = $entity_type_manager;
  $this->queryFactory = $query_factory;
}
doc_Drupal
2016-10-29 09:29:00
Comments
Leave a Comment

Please login to continue.