You are here

function nodehierarchy_has_parent in Node Hierarchy 6.3

Same name and namespace in other branches
  1. 5 nodehierarchy_workflow_ng.inc \nodehierarchy_has_parent()
  2. 6 nodehierarchy_workflow_ng.inc \nodehierarchy_has_parent()
  3. 6.2 includes/nodehierarchy_workflow_ng.inc \nodehierarchy_has_parent()

File

includes/nodehierarchy_workflow_ng.inc, line 23
Some workflow-ng conditions/actions

Code

function nodehierarchy_has_parent($node, $settings) {
  return (bool) nodehierarchy_get_node_parent_nids($node->nid);
}