You are here

final protected function EntityProcessorBase::getGlobalReferenceManager in Content Synchronizer 8

Same name and namespace in other branches
  1. 8.2 src/Processors/Entity/EntityProcessorBase.php \Drupal\content_synchronizer\Processors\Entity\EntityProcessorBase::getGlobalReferenceManager()
  2. 3.x src/Processors/Entity/EntityProcessorBase.php \Drupal\content_synchronizer\Processors\Entity\EntityProcessorBase::getGlobalReferenceManager()

Get the contentSyncManager.

Return value

\Drupal\content_synchronizer\Service\GlobalReferenceManager The global reference manager service.

File

src/Processors/Entity/EntityProcessorBase.php, line 524

Class

EntityProcessorBase
The entity processor base.

Namespace

Drupal\content_synchronizer\Processors\Entity

Code

protected final function getGlobalReferenceManager() {
  if (!isset($this->globalReferenceManager)) {
    $this->globalReferenceManager = \Drupal::service(GlobalReferenceManager::SERVICE_NAME);
  }
  return $this->globalReferenceManager;
}