You are here

function nodehierarchy_previous_sibling_link in Node Hierarchy 5

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

Get the next sibling of the given node.

File

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

Code

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