You are here

function date_context_context_plugins in Date 8

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

Implements hook_context_plugins()

File

date_context/date_context.module, line 27

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;
}