You are here

public function GlobalForm::__construct in Googalytics - Google Analytics 8

GlobalForm constructor.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The Config Factory service.

\Drupal\Core\Extension\ModuleHandlerInterface $moduleHandler: The Module Handler service.

Overrides ConfigFormBase::__construct

File

modules/ga_tokens/src/Form/GlobalForm.php, line 31

Class

GlobalForm
Form for editing Google Analytics Global Dimensions settings.

Namespace

Drupal\ga_tokens\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, ModuleHandlerInterface $moduleHandler) {
  parent::__construct($config_factory);
  $this->moduleHandler = $moduleHandler;
}