You are here

protected function ContentLoader::getProcessManager in YAML Content 8

Get the ProcessManager service.

Return value

\Drupal\yaml_content\Plugin\YamlContentProcessManager The ProcessManager service.

File

src/ContentLoader/ContentLoader.php, line 171

Class

ContentLoader
ContentLoader class for parsing and importing YAML content.

Namespace

Drupal\yaml_content\ContentLoader

Code

protected function getProcessManager() {

  // Lazy load the entity load helper service.
  if (!isset($this->processManager)) {
    $this->processManager = $this->container
      ->get('plugin.manager.yaml_content.process');
  }
  return $this->processManager;
}