function variable_realm_global_set in Variable 7
Same name and namespace in other branches
- 7.2 variable_realm/variable_realm.module \variable_realm_global_set()
Switch global variable
Parameters
$name: Optional global variable name. If not set, it will reset all global variables to its original value.
$value: Optional new value for global variable. If not set, it will reset the variable to its original value.
$rebuild: Whether to rebuild the current global $conf
File
- variable_realm/
variable_realm.module, line 347 - Variable API module - Realms
Code
function variable_realm_global_set($name, $value = NULL, $rebuild = TRUE) {
variable_realm_set('global', 'default', $name, $value, $rebuild);
}