You are here

public function HotjarSettings::__construct in Hotjar 8

Same name and namespace in other branches
  1. 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\hotjar

Code

public function __construct(ConfigFactoryInterface $configFactory) {
  $this->config = $configFactory
    ->get('hotjar.settings');
  $this
    ->getSettings();
}