You are here

function environment_indicator_overlay_child_initialize in Environment Indicator 7

Implements hook_overlay_child_initialize().

File

./environment_indicator.module, line 111
Adds a coloured strip to the side of the site informing the user which environment they are in (Development, Staging Production etc).

Code

function environment_indicator_overlay_child_initialize() {
  drupal_add_js(array(
    'environment_indicator' => array(
      'suppress' => 1,
    ),
  ), 'setting');
}