You are here

function variable_realm_defined in Variable 7.2

Check whether a realm is defined.

File

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

Code

function variable_realm_defined($realm_name) {
  $controllers = variable_realm_controller();
  return !empty($controllers[$realm_name]);
}