You are here

public function WorkflowManager::__construct in Forms Steps 8

WorkflowManager constructor.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: Injected EntityTypeManager instance.

\Drupal\forms_steps\Service\FormsStepsManager $forms_steps_manager: Injected FormsStepsManager instance.

\Drupal\Component\Uuid\UuidInterface $uuid_service: Injected UUID instance.

\Drupal\Core\Routing\CurrentRouteMatch $current_route_match: Injected CurrentRouteMatch instance.

File

src/Service/WorkflowManager.php, line 58

Class

WorkflowManager
Class WorkflowManager.

Namespace

Drupal\forms_steps\Service

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, FormsStepsManager $forms_steps_manager, UuidInterface $uuid_service, CurrentRouteMatch $current_route_match) {
  $this->entityTypeManager = $entity_type_manager;
  $this->formsStepsManager = $forms_steps_manager;
  $this->uuidService = $uuid_service;
  $this->currentRouteMatch = $current_route_match;
}