You are here

function hotjar_rebuild in Hotjar 8.2

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

Implements hook_rebuild().

File

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

Code

function hotjar_rebuild() {

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