You are here

function bg_image_context_registry in Background Images 6

Implements hook_context_registry

Registers a condition or reaction with Context. Once registered, it will also appear in the context ui

File

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

Code

function bg_image_context_registry() {
  $registry = array();
  $registry['reactions']['bg_image'] = array(
    'title' => t('Background Image'),
    'description' => t('Set the background image for the site.'),
    'plugin' => 'bg_image_context_reaction_bg_image',
  );
  return $registry;
}