You are here

function environment_indicator_default_environment_indicator_environment in Environment Indicator 7.2

Implements hook_default_environment_indicator_environment().

1 call to environment_indicator_default_environment_indicator_environment()
EnvironmentVariableRealmController::getDefaultKey in environment_indicator_variable/class/EnvironmentVariableRealmController.php
Implementation of VariableRealmControllerInterface::getDefaultKey().

File

./environment_indicator.module, line 93
Module implementation file.

Code

function environment_indicator_default_environment_indicator_environment() {
  $export = array();
  $environment = new stdClass();
  $environment->api_version = 1;
  $environment->machine = 'default_environment';
  $environment->name = t('Default environment');
  $environment->regexurl = '.*';
  $environment->settings = array(
    'color' => '#aa3333',
    'text_color' => '#ffffff',
    'weight' => 99,
    'position' => 'top',
    'fixed' => FALSE,
  );
  $export['default_environment'] = $environment;
  return $export;
}