interface HotjarSettingsInterface in Hotjar 8.2
Same name and namespace in other branches
- 8 src/HotjarSettingsInterface.php \Drupal\hotjar\HotjarSettingsInterface
Hotjar settings service interface.
@package Drupal\hotjar
Hierarchy
- interface \Drupal\hotjar\HotjarSettingsInterface
Expanded class hierarchy of HotjarSettingsInterface
All classes that implement HotjarSettingsInterface
1 file declares its use of HotjarSettingsInterface
File
- src/
HotjarSettingsInterface.php, line 10
Namespace
Drupal\hotjarView source
interface HotjarSettingsInterface {
const HOTJAR_SNIPPET_VERSION = 6;
const HOTJAR_SNIPPET_PATH = 'public://hotjar/hotjar.script.js';
const HOTJAR_PAGES = "/admin\n/admin/*\n/batch\n/node/add*\n/node/*/*\n/user/*/*";
const ATTACHMENT_MODE_BUILD = 'build';
const ATTACHMENT_MODE_DRUPAL_SETTINGS = 'drupalSettings';
/**
* Get all settings.
*
* @param bool $force
* Force update of settings.
*
* @return array
* Get settings.
*/
public function getSettings($force = FALSE);
/**
* Get setting.
*
* @param string $key
* Settings key.
* @param mixed $default
* Default value.
*
* @return mixed
* Setting value.
*/
public function getSetting($key, $default = NULL);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
HotjarSettingsInterface:: |
constant | |||
HotjarSettingsInterface:: |
constant | |||
HotjarSettingsInterface:: |
public | function | Get setting. | 1 |
HotjarSettingsInterface:: |
public | function | Get all settings. | 1 |
HotjarSettingsInterface:: |
constant | |||
HotjarSettingsInterface:: |
constant | |||
HotjarSettingsInterface:: |
constant |