You are here

public function AllDocs::__construct in Replication 8

Same name and namespace in other branches
  1. 8.2 src/AllDocs/AllDocs.php \Drupal\replication\AllDocs\AllDocs::__construct()

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager:

\Drupal\multiversion\MultiversionManagerInterface $multiversion_manager:

\Drupal\multiversion\Entity\WorkspaceInterface $workspace:

\Drupal\multiversion\Entity\Index\EntityIndexInterface:

\Symfony\Component\Serializer\SerializerInterface:

File

src/AllDocs/AllDocs.php, line 82

Class

AllDocs

Namespace

Drupal\replication\AllDocs

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, MultiversionManagerInterface $multiversion_manager, WorkspaceInterface $workspace, EntityIndexInterface $entity_index, SerializerInterface $serializer) {
  $this->entityTypeManager = $entity_type_manager;
  $this->multiversionManager = $multiversion_manager;
  $this->workspace = $workspace;
  $this->entityIndex = $entity_index;
  $this->serializer = $serializer;
}