You are here

function nodehierarchy_get_node_primary_ancestor_nodes in Node Hierarchy 7.4

Get the parent nodes for the given node.

2 calls to nodehierarchy_get_node_primary_ancestor_nodes()
nodehierarchy_get_breadcrumb in ./nodehierarchy.module
Get the breadcrumbs for the given node.
_nodehierarchy_widgets_autocomplete_parent_heirarchy_trail in nodehierarchy_widgets/nodehierarchy_widgets.module
Get the trail of ancestors to display in the autocomlete results.

File

./nodehierarchy.api.inc, line 57
API functions for Node Hierarchy

Code

function nodehierarchy_get_node_primary_ancestor_nodes($node) {
  return node_load_multiple(nodehierarchy_get_node_primary_ancestor_nids($node));
}