You are here

function dna_visible_nodes in Devel 6

Same name and namespace in other branches
  1. 5 devel_node_access.module \dna_visible_nodes()
  2. 7 devel_node_access.module \dna_visible_nodes()
2 calls to dna_visible_nodes()
devel_node_access_block in ./devel_node_access.module
devel_node_access_nodeapi in ./devel_node_access.module

File

./devel_node_access.module, line 177
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 dna_visible_nodes($nid = NULL) {
  static $nids = array();
  if ($nid) {
    $nids[$nid] = $nid;
  }
  return $nids;
}