function context_nodeapi in Context 6.2
Same name and namespace in other branches
- 6.3 context.core.inc \context_nodeapi()
- 6 context.core.inc \context_nodeapi()
Implementation of hook_nodeapi().
File
- ./
context.core.inc, line 312
Code
function context_nodeapi(&$node, $op, $teaser, $page) {
if ($op == 'view' && $page && ($menu_ob = menu_get_object()) && $menu_ob->nid == $node->nid) {
context_node_condition($node, $op);
}
}