You are here

protected function Container::conditionPluginManager in GoogleTagManager 8

Gets the condition plugin manager.

Return value

\Drupal\Core\Executable\ExecutableManagerInterface The condition plugin manager.

1 call to Container::conditionPluginManager()
Container::getInsertionConditions in src/Entity/Container.php
Returns the set of insertion conditions for this container.

File

src/Entity/Container.php, line 720

Class

Container
Defines the container configuration entity.

Namespace

Drupal\google_tag\Entity

Code

protected function conditionPluginManager() {
  if (!isset($this->conditionPluginManager)) {
    $this->conditionPluginManager = \Drupal::service('plugin.manager.condition');
  }
  return $this->conditionPluginManager;
}