You are here

function variable_realm_current in Variable 7.2

Same name and namespace in other branches
  1. 7 variable_realm/variable_realm.module \variable_realm_current()

Get active realm controllers ordered by weight.

4 calls to variable_realm_current()
variable_realm_current_keys in variable_realm/variable_realm.module
Get current realm values ordered by weights, only realms that are set.
variable_realm_refresh in variable_realm/variable_realm.module
Refresh variable value.
variable_realm_reset in variable_realm/variable_realm.module
Reset realms, deleting currently set ones
_variable_realm_build in variable_realm/variable_realm.module
Build current realm.

File

variable_realm/variable_realm.module, line 300
Variable API module - Realms

Code

function variable_realm_current() {
  $active = array_filter(variable_realm_controller(), '_variable_realm_active');
  uasort($active, '_variable_realm_sort_current');
  return $active;
}