public function BulkDocsFactory::__construct in Replication 8.2
Same name and namespace in other branches
- 8 src/BulkDocsFactory.php \Drupal\replication\BulkDocsFactory::__construct()
Constructor.
Parameters
\Drupal\multiversion\Workspace\WorkspaceManagerInterface $workspace_manager:
\Drupal\multiversion\Entity\Index\UuidIndexInterface $uuid_index:
\Drupal\multiversion\Entity\Index\RevisionIndexInterface $rev_index:
\Drupal\Core\Lock\LockBackendInterface $lock:
\Drupal\Core\Logger\LoggerChannelFactoryInterface $logger_factory:
\Drupal\Core\State\StateInterface $state:
File
- src/
BulkDocsFactory.php, line 69
Class
Namespace
Drupal\replicationCode
public function __construct(WorkspaceManagerInterface $workspace_manager, UuidIndexInterface $uuid_index, RevisionIndexInterface $rev_index, EntityTypeManagerInterface $entity_type_manager, LockBackendInterface $lock, LoggerChannelFactoryInterface $logger_factory, StateInterface $state) {
$this->workspaceManager = $workspace_manager;
$this->uuidIndex = $uuid_index;
$this->revIndex = $rev_index;
$this->entityTypeManager = $entity_type_manager;
$this->lock = $lock;
$this->logger = $logger_factory
->get('replication');
$this->state = $state;
}