You are here

function _variable_realm_active in Variable 7.2

Check whether realm is active.

1 string reference to '_variable_realm_active'
variable_realm_current in variable_realm/variable_realm.module
Get active realm controllers ordered by weight.

File

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

Code

function _variable_realm_active($realm_controller) {
  return $realm_controller && $realm_controller
    ->isActive();
}