You are here

function hotjar_rebuild in Hotjar 8

Same name and namespace in other branches
  1. 8.2 hotjar.module \hotjar_rebuild()

Implements hook_rebuild().

File

./hotjar.module, line 64
Drupal Module: Hotjar.

Code

function hotjar_rebuild() {

  /** @var \Drupal\hotjar\SnippetBuilderInterface $snippet_builder */
  $snippet_builder = \Drupal::service('hotjar.snippet');
  $snippet_builder
    ->createAssets();
}