You are here

public function EnvironmentVariableRealmController::getAvailableVariables in Environment Indicator 7.2

Implementation of VariableRealmControllerInterface::getAvailableVariables().

File

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

Class

EnvironmentVariableRealmController
Realm controller for environment realms.

Code

public function getAvailableVariables() {
  $variables = array();
  foreach (variable_get_info() as $name => $variable) {
    $variables[] = $name;
  }
  return $variables;
}