You are here

interface HotjarSettingsInterface in Hotjar 8

Same name and namespace in other branches
  1. 8.2 src/HotjarSettingsInterface.php \Drupal\hotjar\HotjarSettingsInterface

Interface HotjarSettingsInterface.

@package Drupal\hotjar

Hierarchy

Expanded class hierarchy of HotjarSettingsInterface

All classes that implement HotjarSettingsInterface

1 file declares its use of HotjarSettingsInterface
HotjarAdminSettingsForm.php in src/Form/HotjarAdminSettingsForm.php

File

src/HotjarSettingsInterface.php, line 10

Namespace

Drupal\hotjar
View source
interface HotjarSettingsInterface {

  /**
   * Get all settings.
   *
   * @return array
   *   Get settings.
   */
  public function getSettings();

  /**
   * Get setting.
   *
   * @param string $key
   *   Settings key.
   * @param mixed $default
   *   Default value.
   *
   * @return mixed
   *   Setting value.
   */
  public function getSetting($key, $default = NULL);

}

Members

Namesort descending Modifiers Type Description Overrides
HotjarSettingsInterface::getSetting public function Get setting. 1
HotjarSettingsInterface::getSettings public function Get all settings. 1