You are here

function date_context_context_node_condition_alter in Date 8

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

Implements hook_context_node_condition_alter().

File

date_context/date_context.module, line 18

Code

function date_context_context_node_condition_alter($node, $op) {
  if ($plugin = context_get_plugin('condition', 'date_context_date_condition')) {
    $plugin
      ->execute($node, $op);
  }
}