You are here

function nodehierarchy_has_parent in Node Hierarchy 5

Same name and namespace in other branches
  1. 6.3 includes/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

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

Code

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