You are here

function custompage_load in Custom Page 7

Same name and namespace in other branches
  1. 6 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;
  }
}