You are here

public function BulkDocs::__construct in Replication 8

Same name and namespace in other branches
  1. 8.2 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\Entity\EntityTypeManagerInterface $entity_type_manager:

\Drupal\Core\Lock\LockBackendInterface $lock:

\Drupal\Core\Logger\LoggerChannelInterface $logger:

\Drupal\Core\State\StateInterface $state:

\Drupal\Core\Config\ImmutableConfig $config:

File

src/BulkDocs/BulkDocs.php, line 98

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, ImmutableConfig $config) {
  $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;
  $this->config = $config;
}