function date_context_context_registry in Date 7.3
Same name and namespace in other branches
- 8 date_context/date_context.module \date_context_context_registry()
- 7.2 date_context/date_context.module \date_context_context_registry()
Implements hook_context_registry().
File
- date_context/
date_context.module, line 43 - Add an option to set/not set the context on forms vs views.
Code
function date_context_context_registry() {
return array(
'conditions' => array(
'date_context_date_condition' => array(
'title' => t('Date'),
'description' => t('Set a condition based on the value of a date field'),
'plugin' => 'date_context_date_condition',
),
),
);
}