function variable_store_get in Variable 7.2
Same name and namespace in other branches
- 7 variable_store/variable_store.module \variable_store_get()
Get single variable from store
1 call to variable_store_get()
- VariableStoreTestCase::testVariableStoreAPI in variable_store/
variable_store.test - Test that all core modules can be enabled, disabled and uninstalled.
File
- variable_store/
variable_store.module, line 45 - Variable API module - Database storage
Code
function variable_store_get($realm, $key, $name, $default = NULL) {
$variables = variable_store($realm, $key);
return $variables && isset($variables[$name]) ? $variables[$name] : $default;
}