You are here

public function EnvironmentVariableRealmController::getAllKeys in Environment Indicator 7.2

Implementation of VariableRealmControllerInterface::getAllKeys().

File

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

Class

EnvironmentVariableRealmController
Realm controller for environment realms.

Code

public function getAllKeys() {
  $environment_list = array();
  foreach (environment_indicator_get_all() as $machine => $environment) {
    $environment_list[$machine] = $environment->name;
  }
  return $environment_list;
}