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; }
Please login to continue.