You are here

public function GoogleAnalyticsCounterAuthForm::__construct in Google Analytics Counter 8.3

Constructs a new SiteMaintenanceModeForm.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.

\Drupal\Core\State\StateInterface $state: The state keyvalue collection to use.

\Drupal\google_analytics_counter\GoogleAnalyticsCounterAppManagerInterface $app_manager: Google Analytics Counter App Manager object.

\Drupal\google_analytics_counter\GoogleAnalyticsCounterAuthManagerInterface $auth_manager: Google Analytics Counter Auth Manager object.

\Drupal\google_analytics_counter\GoogleAnalyticsCounterMessageManagerInterface $message_manager: Google Analytics Counter Message Manager object.

Overrides ConfigFormBase::__construct

File

src/Form/GoogleAnalyticsCounterAuthForm.php, line 72

Class

GoogleAnalyticsCounterAuthForm
Class GoogleAnalyticsCounterAuthForm.

Namespace

Drupal\google_analytics_counter\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, StateInterface $state, GoogleAnalyticsCounterAppManagerInterface $app_manager, GoogleAnalyticsCounterAuthManagerInterface $auth_manager, GoogleAnalyticsCounterMessageManagerInterface $message_manager) {
  parent::__construct($config_factory);
  $this->config = $config_factory
    ->get('google_analytics_counter.settings');
  $this->state = $state;
  $this->appManager = $app_manager;
  $this->authManager = $auth_manager;
  $this->messageManager = $message_manager;
}