public function ContentModerationConfigureForm::__construct in Drupal 8
Same name and namespace in other branches
- 9 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\FormCode
public function __construct(EntityTypeManagerInterface $entityTypeManager, ModerationInformationInterface $moderationInformation, EntityTypeBundleInfoInterface $entityTypeBundleInfo) {
$this->entityTypeManager = $entityTypeManager;
$this->moderationInfo = $moderationInformation;
$this->entityTypeBundleInfo = $entityTypeBundleInfo;
}