You are here

public function ContentModerationConfigureForm::__construct in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/content_moderation/src/Form/ContentModerationConfigureForm.php \Drupal\content_moderation\Form\ContentModerationConfigureForm::__construct()

Create an instance of ContentModerationConfigureForm.

File

core/modules/content_moderation/src/Form/ContentModerationConfigureForm.php, line 47

Class

ContentModerationConfigureForm
The content moderation WorkflowType configuration form.

Namespace

Drupal\content_moderation\Form

Code

public function __construct(EntityTypeManagerInterface $entityTypeManager, ModerationInformationInterface $moderationInformation, EntityTypeBundleInfoInterface $entityTypeBundleInfo) {
  $this->entityTypeManager = $entityTypeManager;
  $this->moderationInfo = $moderationInformation;
  $this->entityTypeBundleInfo = $entityTypeBundleInfo;
}