You are here

public function Update330::__construct in Lightning Workflow 8.3

Update330 constructor.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.

\Drupal\content_moderation\ModerationInformationInterface $moderation_information: The moderation information service.

File

src/Update/Update330.php, line 53

Class

Update330
Contains optional updates targeting Lightning Workflow 3.3.0.

Namespace

Drupal\lightning_workflow\Update

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, ModuleHandlerInterface $module_handler, ModerationInformationInterface $moderation_information) {
  $this->entityTypeManager = $entity_type_manager;
  $this->moduleHandler = $module_handler;
  $this->moderationInformation = $moderation_information;
}