public EntityOperations::__construct(ModerationInformationInterface$moderation_info, EntityTypeManagerInterface$entity_type_manager, FormBuilderInterface$form_builder, RevisionTrackerInterface$tracker)
Constructs a new EntityOperations object.
Parameters
\Drupal\content_moderation\ModerationInformationInterface $moderation_info: Moderation information service.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: Entity type manager service.
\Drupal\Core\Form\FormBuilderInterface $form_builder: The form builder.
\Drupal\content_moderation\RevisionTrackerInterface $tracker: The revision tracker.
File
- core/modules/content_moderation/src/EntityOperations.php, line 60
 
Class
- EntityOperations
 - Defines a class for reacting to entity events.
 
Namespace
Drupal\content_moderation
Code
public function __construct(ModerationInformationInterface $moderation_info, EntityTypeManagerInterface $entity_type_manager, FormBuilderInterface $form_builder, RevisionTrackerInterface $tracker) {
  $this->moderationInfo = $moderation_info;
  $this->entityTypeManager = $entity_type_manager;
  $this->formBuilder = $form_builder;
  $this->tracker = $tracker;
}
Please login to continue.