You are here

SnippetBuilderInterface.php in Hotjar 8

Same filename and directory in other branches
  1. 8.2 src/SnippetBuilderInterface.php

Namespace

Drupal\hotjar

File

src/SnippetBuilderInterface.php
View source
<?php

namespace Drupal\hotjar;


/**
 * Interface SnippetBuilderInterface.
 *
 * @package Drupal\hotjar
 */
interface SnippetBuilderInterface {

  /**
   * Prepares directory for and saves snippet files based on current settings.
   *
   * @return bool
   *   Whether the files were saved.
   */
  public function createAssets();

  /**
   * Implements hook_page_attachment().
   */
  public function pageAttachment(array &$attachments);

}

Interfaces

Namesort descending Description
SnippetBuilderInterface Interface SnippetBuilderInterface.