You are here

public function ContentModerationConfigureEntityTypesForm::__construct in Drupal 8

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

File

core/modules/content_moderation/src/Form/ContentModerationConfigureEntityTypesForm.php, line 84

Class

ContentModerationConfigureEntityTypesForm
The form for editing entity types associated with a workflow.

Namespace

Drupal\content_moderation\Form

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, EntityTypeBundleInfoInterface $bundle_info, ModerationInformationInterface $moderation_information, MessengerInterface $messenger) {
  $this->entityTypeManager = $entity_type_manager;
  $this->bundleInfo = $bundle_info;
  $this->moderationInformation = $moderation_information;
  $this->messenger = $messenger;
}