You are here

public function EnvironmentVariableRealmController::getDefaultKey in Environment Indicator 7.2

Implementation of VariableRealmControllerInterface::getDefaultKey().

File

environment_indicator_variable/class/EnvironmentVariableRealmController.php, line 25
Variable Realm controller class definition.

Class

EnvironmentVariableRealmController
Realm controller for environment realms.

Code

public function getDefaultKey() {
  $env = environment_indicator_default_environment_indicator_environment();
  $env = reset($env);
  return $env->machine;
}