function dna_visible_nodes in Devel 5
Same name and namespace in other branches
- 6 devel_node_access.module \dna_visible_nodes()
- 7 devel_node_access.module \dna_visible_nodes()
2 calls to dna_visible_nodes()
File
- ./
devel_node_access.module, line 172 - 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;
}