You are here

interface SnippetAccessInterface in Hotjar 8.2

Same name and namespace in other branches
  1. 8 src/SnippetAccessInterface.php \Drupal\hotjar\SnippetAccessInterface

Snippet access service interface.

@package Drupal\hotjar

Hierarchy

Expanded class hierarchy of SnippetAccessInterface

All classes that implement SnippetAccessInterface

File

src/SnippetAccessInterface.php, line 10

Namespace

Drupal\hotjar
View source
interface SnippetAccessInterface {

  /**
   * Determines whether we add tracking code to page.
   *
   * @return bool
   *   Return TRUE if user can access snippet.
   */
  public function check();

}

Members

Namesort descending Modifiers Type Description Overrides
SnippetAccessInterface::check public function Determines whether we add tracking code to page. 1