You are here

function bg_image_node_is_configured in Background Images 6

Same name and namespace in other branches
  1. 7 bg_image.module \bg_image_node_is_configured()

Checks if a node (and field) is configured.

File

./bg_image.module, line 584
Allows for customizable background images per page

Code

function bg_image_node_is_configured() {
  if (variable_get('bg_image_node_type', '') && variable_get('bg_image_node_field', '')) {
    return TRUE;
  }
  else {
    return FALSE;
  }
}