public function HotjarAdminSettingsForm::__construct in Hotjar 8.2
Same name and namespace in other branches
- 8 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 36
Class
- HotjarAdminSettingsForm
- Configure Hotjar settings for this site.
Namespace
Drupal\hotjar\FormCode
public function __construct(ConfigFactoryInterface $config_factory, SnippetBuilderInterface $snippet_builder, StreamWrapperManagerInterface $stream_wrapper_manager) {
parent::__construct($config_factory);
$this->snippetBuilder = $snippet_builder;
$this->streamWrapperManager = $stream_wrapper_manager;
}