You are here

public function BulkDocs::__construct in Replication 8.2

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

Constructor.

Parameters

\Drupal\multiversion\Workspace\WorkspaceManagerInterface $workspace_manager:

\Drupal\multiversion\Entity\WorkspaceInterface $workspace:

\Drupal\multiversion\Entity\Index\UuidIndexInterface $uuid_index:

\Drupal\multiversion\Entity\Index\RevisionIndexInterface $rev_index:

\Drupal\Core\Lock\LockBackendInterface $lock:

\Drupal\Core\Logger\LoggerChannelInterface $logger:

\Drupal\Core\State\StateInterface $state:

File

src/BulkDocs/BulkDocs.php, line 87

Class

BulkDocs

Namespace

Drupal\replication\BulkDocs

Code

public function __construct(WorkspaceManagerInterface $workspace_manager, WorkspaceInterface $workspace, UuidIndexInterface $uuid_index, RevisionIndexInterface $rev_index, EntityTypeManagerInterface $entity_type_manager, LockBackendInterface $lock, LoggerChannelInterface $logger, StateInterface $state) {
  $this->workspaceManager = $workspace_manager;
  $this->workspace = $workspace;
  $this->uuidIndex = $uuid_index;
  $this->revIndex = $rev_index;
  $this->entityTypeManager = $entity_type_manager;
  $this->lock = $lock;
  $this->logger = $logger;
  $this->state = $state;
}