You are here

public function ContainerForm::__construct in GoogleTagManager 8

Constructs a ContainerForm object.

Parameters

\Drupal\Core\Executable\ExecutableManagerInterface $condition_manager: The ConditionManager for building the insertion conditions.

\Drupal\Core\Plugin\Context\ContextRepositoryInterface $context_repository: The lazy context repository service.

File

src/Form/ContainerForm.php, line 49

Class

ContainerForm
Defines the Google tag manager container settings form.

Namespace

Drupal\google_tag\Form

Code

public function __construct(ExecutableManagerInterface $condition_manager, ContextRepositoryInterface $context_repository) {
  $this->conditionManager = $condition_manager;
  $this->contextRepository = $context_repository;
}