You are here

public function ReplicationFinished::__construct in Workspace 8

ReplicationFinished constructor.

Parameters

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

\Drupal\multiversion\Workspace\WorkspaceManagerInterface $workspace_manager: The workspace manager.

\Drupal\pathauto\AliasTypeManager $alias_type_manager: The AliasType manager.

\Drupal\pathauto\PathautoGeneratorInterface $path_auto_generator: The Pathauto generator.

File

src/EventSubscriber/ReplicationFinished.php, line 62

Class

ReplicationFinished
Class ReplicationFinished.

Namespace

Drupal\workspace\EventSubscriber

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, WorkspaceManagerInterface $workspace_manager, AliasTypeManager $alias_type_manager = NULL, PathautoGeneratorInterface $path_auto_generator = NULL) {
  $this->entityTypeManager = $entity_type_manager;
  $this->workspaceManager = $workspace_manager;
  $this->aliasTypeManager = $alias_type_manager;
  $this->pathAutoGenerator = $path_auto_generator;
}