You are here

function nodehierarchy_next_sibling in Node Hierarchy 6

Same name and namespace in other branches
  1. 5 nodehierarchy.module \nodehierarchy_next_sibling()

Get the next sibling of the given node.

1 call to nodehierarchy_next_sibling()
nodehierarchy_next_sibling_link in ./nodehierarchy.module
Get the next sibling of the given node.

File

./nodehierarchy.module, line 873

Code

function nodehierarchy_next_sibling($node) {
  if ($nid = nodehierarchy_next_sibling_nid($node)) {
    return node_load($nid);
  }
  return NULL;
}