function hook_variable_realm_switch in Variable 7.2
Same name and namespace in other branches
- 7 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.
File
- variable_realm/
variable_realm.api.php, line 83 - Documents hooks provided by Variable Realm API.
Code
function hook_variable_realm_switch($realm_name, $realm_key) {
}