You are here

protected function EntityProcessorBase::getEntityProcessorManager 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::getEntityProcessorManager()
  2. 3.x src/Processors/Entity/EntityProcessorBase.php \Drupal\content_synchronizer\Processors\Entity\EntityProcessorBase::getEntityProcessorManager()

Get the EntityProcessor plugin manager.

Return value

\Drupal\content_synchronizer\Processors\Entity\EntityProcessorPluginManager The entity processor manager service.

File

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

Class

EntityProcessorBase
The entity processor base.

Namespace

Drupal\content_synchronizer\Processors\Entity

Code

protected function getEntityProcessorManager() {
  if (!$this->entityProcessorManager) {
    $this->entityProcessorManager = \Drupal::service(EntityProcessorPluginManager::SERVICE_NAME);
  }
  return $this->entityProcessorManager;
}