function custompage_load in Custom Page 6
Same name and namespace in other branches
- 7 custompage_ui/custompage_ui.module \custompage_load()
File
- custompage_ui/
custompage_ui.module, line 54 - Custom Page Admin UI
Code
function custompage_load($key) {
$settings = variable_get('CUSTOMPAGE_UI_CONFIG', FALSE);
if ($settings == FALSE) {
return FALSE;
}
if (is_object($settings[$key])) {
return $settings[$key];
}
else {
return FALSE;
}
}