You are here

function variable_realm_get in Variable 7

Same name and namespace in other branches
  1. 7.2 variable_realm/variable_realm.module \variable_realm_get()

Get value from realm

3 calls to variable_realm_get()
VariableStoreTestCase::testVariableStoreAPI in variable_store/variable_store.test
Test that all core modules can be enabled, disabled and uninstalled.
variable_realm_edit_variables_form_submit in variable_realm/variable_realm.form.inc
Edit variables for realm.
variable_realm_global_get in variable_realm/variable_realm.module
Get original global variable

File

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

Code

function variable_realm_get($realm, $key, $name = NULL, $default = NULL) {
  return variable_realm($realm, $key)
    ->variable_get($name, $default);
}