You are here

function nodehierarchy_next_sibling_link in Node Hierarchy 5

Same name and namespace in other branches
  1. 6 nodehierarchy.module \nodehierarchy_next_sibling_link()

Get the next sibling of the given node.

File

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

Code

function nodehierarchy_next_sibling_link($node) {
  if ($sibling = nodehierarchy_next_sibling($node)) {
    return theme("nodehierarchy_sibling_link", $sibling);
  }
  return "";
}