You are here

function date_context_context_registry in Date 8

Same name and namespace in other branches
  1. 7.3 date_context/date_context.module \date_context_context_registry()
  2. 7.2 date_context/date_context.module \date_context_context_registry()

Implements hook_context_registry()

File

date_context/date_context.module, line 43

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',
      ),
    ),
  );
}