You are here

function devel_node_access_nodeapi in Devel 5

Same name and namespace in other branches
  1. 6 devel_node_access.module \devel_node_access_nodeapi()

File

./devel_node_access.module, line 180
This module gives developers feedback as to what their node_access table contains, and which nodes are protected or visible to the public.

Code

function devel_node_access_nodeapi(&$node, $op, $teaser = NULL, $page = NULL) {
  if ($op == 'view') {

    // remember this node, for display in our block
    dna_visible_nodes($node->nid);
  }
}