You are here

function _google_tag_message_display in GoogleTagManager 7

Displays a message to admin users.

See arguments to t() and drupal_set_message().

3 calls to _google_tag_message_display()
_google_tag_assets_create in includes/admin.inc
Saves snippet files and data layer classes based on current settings.
_google_tag_directory_prepare in includes/admin.inc
Prepares directory for base or realm specific snippet files.
_google_tag_snippets_save in includes/admin.inc
Saves JS snippet files based on current settings.

File

includes/admin.inc, line 525
Contains the administrative page and form callbacks.

Code

function _google_tag_message_display($message, $args = array(), $type = 'status') {
  global $_google_tag_display_message;
  if ($_google_tag_display_message) {
    drupal_set_message(t($message, $args), $type);
  }
}