You are here

function bg_image_node_is_configured in Background Images 7

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

Checks if a node (and field) is configured.

1 call to bg_image_node_is_configured()
bg_image_context_reaction_bg_image::options_form in bg_image_context/plugins/bg_image_context_reaction_bg_image.inc
Allow admins to provide a section title, section subtitle and section class.

File

./bg_image.module, line 588
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;
  }
}