You are here

function google_tag_assets_create in GoogleTagManager 7

Same name and namespace in other branches
  1. 7.2 google_tag.module \google_tag_assets_create()

Saves snippet files and data layer classes based on current settings.

4 calls to google_tag_assets_create()
google_tag_enable in ./google_tag.install
Implements hook_enable().
google_tag_flush_caches in ./google_tag.module
Implements hook_flush_caches().
GTMNoRealmTestCase::createData in tests/google_tag.norealm.test
Create test data: configuration variables and snippet files.
GTMRealmTestCase::createData in tests/google_tag.realm.test
Create test data: configuration variables and snippet files.

File

./google_tag.module, line 396
Provides primary Drupal hook implementations.

Code

function google_tag_assets_create() {
  module_load_include('inc', 'google_tag', 'includes/admin');
  _google_tag_assets_create();
}