public function HotjarSettings::__construct in Hotjar 8
Same name and namespace in other branches
- 8.2 src/HotjarSettings.php \Drupal\hotjar\HotjarSettings::__construct()
HotjarSettings constructor.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $configFactory: Config factory.
File
- src/
HotjarSettings.php, line 38
Class
- HotjarSettings
- Class HotjarSettings.
Namespace
Drupal\hotjarCode
public function __construct(ConfigFactoryInterface $configFactory) {
$this->config = $configFactory
->get('hotjar.settings');
$this
->getSettings();
}