You are here

function nodehierarchy_node_can_be_child in Node Hierarchy 5

Same name and namespace in other branches
  1. 6.3 nodehierarchy.module \nodehierarchy_node_can_be_child()
  2. 6 nodehierarchy.module \nodehierarchy_node_can_be_child()
  3. 6.2 nodehierarchy.module \nodehierarchy_node_can_be_child()
  4. 7.4 nodehierarchy.admin.inc \nodehierarchy_node_can_be_child()
  5. 7.2 nodehierarchy.module \nodehierarchy_node_can_be_child()

Wrapper for nodehierarchy_node_can_be_child_of.

1 call to nodehierarchy_node_can_be_child()
nodehierarchy_nodehierarchyapi in ./nodehierarchy.module
Implementation of hook_nodehierarchyapi(). Responds to own api calls.

File

./nodehierarchy.module, line 517
A module to make nodes hierarchical.

Code

function nodehierarchy_node_can_be_child($node) {
  return nodehierarchy_node_can_be_child_of(NULL, $node);
}