function colorbox_node_context_registry in Colorbox Node 7.3
Implements hook_context_registry().
File
- ./
colorbox_node.module, line 389 - Creates a menu callback with support for displaying a node inside of a colorbox.
Code
function colorbox_node_context_registry() {
return array(
'conditions' => array(
'colorbox_node' => array(
'title' => t('Colorbox Modal'),
'description' => t('Set this context based on if you are viewing your content inside a colorbox modal.'),
'plugin' => 'colorbox_node_context_condition',
),
),
);
}