Closed (fixed)
Project:
Node Hierarchy
Version:
6.x-3.x-dev
Component:
Drupal/PHP Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
26 Oct 2011 at 10:20 UTC
Updated:
14 Jan 2012 at 03:40 UTC
Are there any function for getting parent node of current node?
i.e. nodehierarchy_get_parent($nid);
Comments
Comment #1
divined commentedComment #2
divined commentedComment #3
jbylsma commentedThere's a whole bunch of functions starting around 1200 in 6.x-2.x. You'd probably want to use nodehierarchy_get_node_parent_nids() and pass the current node's nid.
Comment #4.0
(not verified) commentederror