You are here

function context_contrib_nodeapi in Context 6.2

Same name and namespace in other branches
  1. 6 context_contrib/context_contrib.module \context_contrib_nodeapi()

Implementation of hook_nodeapi().

File

context_contrib/context_contrib.module, line 83

Code

function context_contrib_nodeapi(&$node, $op, $teaser, $page) {
  if ($op == 'view' && $page && ($menu_ob = menu_get_object()) && $menu_ob->nid == $node->nid) {
    context_contrib_node_condition($node, $op);
  }
}