You are here

function hook_variable_realm_switch in Variable 7

Same name and namespace in other branches
  1. 7.2 variable_realm/variable_realm.api.php \hook_variable_realm_switch()

Allow other modules to act on realm switching.

This hook is invoked right after the realm key is switched but before the global variables are rebuilt.

Parameters

$realm_name: Realm that is switched.

$realm_key: New realm key.

1 function implements hook_variable_realm_switch()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

variable_realm_union_variable_realm_switch in variable_realm_union/variable_realm_union.module
Implements hook_variable_realm_switch().
1 invocation of hook_variable_realm_switch()
variable_realm_switch in variable_realm/variable_realm.module
Switch current variable realms.

File

variable_realm/variable_realm.api.php, line 97
Documents hooks provided by Variable Realm API.

Code

function hook_variable_realm_switch($realm_name, $realm_key) {
}