You are here

function nodehierarchy_pathauto_get_fullhierarchypath in Node Hierarchy 5

Same name and namespace in other branches
  1. 6 nodehierarchy_pathauto.inc \nodehierarchy_pathauto_get_fullhierarchypath()
2 calls to nodehierarchy_pathauto_get_fullhierarchypath()
nodehierarchy_pathauto_get_hierarchypath in ./nodehierarchy_pathauto.inc
nodehierarchy_pathauto_get_placeholders in ./nodehierarchy_pathauto.inc
Generate the hierarchy placeholders.

File

./nodehierarchy_pathauto.inc, line 46
pathauto.module v1 integration functions for nodehierarchy.module pathauto v2 uses token for generation makingt his file obsolete

Code

function nodehierarchy_pathauto_get_fullhierarchypath($node) {
  $node = node_load($node);

  // return the hierarchy path with the converted title
  return trim(nodehierarchy_pathauto_get_hierarchypath($node->nid) . "/" . pathauto_cleanstring($node->title), "/");
}