You are here

function nodehierarchy_node_can_be_parent in Node Hierarchy 5

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

Wrapper for nodehierarchy_node_can_be_child_of.

2 calls to nodehierarchy_node_can_be_parent()
nodehierarchy_nodehierarchyapi in ./nodehierarchy.module
Implementation of hook_nodehierarchyapi(). Responds to own api calls.
nodehierarchy_views_nodehierarchyapi in nodehierarchy_views/nodehierarchy_views.module
Implementation of hook_nodehierarchyapi().

File

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

Code

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