You are here

protected function GTMContainer::displayMessage in GoogleTagManager 7.2

Displays a message.

Parameters

string $message: The message to display.

array $args: (optional) An associative array of replacements.

2 calls to GTMContainer::displayMessage()
GTMContainer::genericCheck in includes/entity/container.inc
Determines whether to insert the snippet based on settings.
GTMContainer::insertSnippet in includes/entity/container.inc
Determines whether to insert the snippet on the response.

File

includes/entity/container.inc, line 494

Class

GTMContainer
Defines the container configuration entity.

Code

protected function displayMessage($message, array $args = array()) {
  if (\GTMSettings::getInstance()
    ->get('debug_output')) {
    drupal_set_message(t($message, $args));
  }
}