function bg_image_context_plugins in Background Images 6
Implements hook_context_plugins
Defines the plugin handler for conditions and reactions
File
- ./
bg_image.module, line 291 - Allows for customizable background images per page
Code
function bg_image_context_plugins() {
$plugins = array();
$plugins['bg_image_context_reaction_bg_image'] = array(
'handler' => array(
'path' => drupal_get_path('module', 'bg_image') . '/plugins',
'file' => 'bg_image_context_reaction_bg_image.inc',
'class' => 'bg_image_context_reaction_bg_image',
'parent' => 'context_reaction',
),
);
return $plugins;
}