public function MultidomainGoogleAnalyticsAdminSettingsForm::__construct in Multidomain Google Analytics 8
Same name and namespace in other branches
- 8.2 src/Form/MultidomainGoogleAnalyticsAdminSettingsForm.php \Drupal\multidomain_google_analytics\Form\MultidomainGoogleAnalyticsAdminSettingsForm::__construct()
Construct function.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
\Drupal\domain\DomainLoader $domain_loader: Load the domain records.
Overrides ConfigFormBase::__construct
File
- src/
Form/ MultidomainGoogleAnalyticsAdminSettingsForm.php, line 39
Class
- MultidomainGoogleAnalyticsAdminSettingsForm
- Configure Google_Analytics settings for this site.
Namespace
Drupal\multidomain_google_analytics\FormCode
public function __construct(ConfigFactoryInterface $config_factory, DomainLoader $domain_loader) {
parent::__construct($config_factory);
$this->domainLoader = $domain_loader;
}