function date_context_context_plugins in Date 7.3
Same name and namespace in other branches
- 8 date_context/date_context.module \date_context_context_plugins()
- 7.2 date_context/date_context.module \date_context_context_plugins()
Implements hook_context_plugins().
File
- date_context/
date_context.module, line 27 - Add an option to set/not set the context on forms vs views.
Code
function date_context_context_plugins() {
$plugins = array();
$plugins['date_context_date_condition'] = array(
'handler' => array(
'class' => 'date_context_date_condition',
'parent' => 'context_condition_node',
'path' => drupal_get_path('module', 'date_context') . '/plugins',
'file' => 'date_context_date_condition.inc',
),
);
return $plugins;
}