You are here

function theme_nodehierarchy_sibling_link in Node Hierarchy 5

Theme a link to the given sibling.

2 theme calls to theme_nodehierarchy_sibling_link()
nodehierarchy_next_sibling_link in ./nodehierarchy.module
Get the next sibling of the given node.
nodehierarchy_previous_sibling_link in ./nodehierarchy.module
Get the next sibling of the given node.

File

./nodehierarchy_theme.inc, line 104
Nodehierarchy theming functions.

Code

function theme_nodehierarchy_sibling_link($node) {
  return l($node->title, "node/" . $node->nid);
}