public function HotjarAdminSettingsForm::__construct in Hotjar 8
Same name and namespace in other branches
- 8.2 src/Form/HotjarAdminSettingsForm.php \Drupal\hotjar\Form\HotjarAdminSettingsForm::__construct()
Constructs a \Drupal\system\ConfigFormBase object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
Overrides ConfigFormBase::__construct
File
- src/
Form/ HotjarAdminSettingsForm.php, line 34
Class
- HotjarAdminSettingsForm
- Configure Hotjar settings for this site.
Namespace
Drupal\hotjar\FormCode
public function __construct(ConfigFactoryInterface $config_factory, HotjarSettingsInterface $hotjar_settings, SnippetBuilderInterface $snippet_builder) {
parent::__construct($config_factory);
$this->hotjarSettings = $hotjar_settings;
$this->snippetBuilder = $snippet_builder;
}