function ContentModerationConfigureForm::__construct

Same name in other branches
  1. 9 core/modules/content_moderation/src/Form/ContentModerationConfigureForm.php \Drupal\content_moderation\Form\ContentModerationConfigureForm::__construct()
  2. 8.9.x core/modules/content_moderation/src/Form/ContentModerationConfigureForm.php \Drupal\content_moderation\Form\ContentModerationConfigureForm::__construct()
  3. 10 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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.