You are here

function nodehierarchy_condition_info in Node Hierarchy 6.2

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

Implementation of hook_condition_info()

File

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

Code

function nodehierarchy_condition_info() {
  return array(
    'nodehierarchy_has_parent' => array(
      '#label' => t('Content has parent'),
      '#arguments' => array(
        'node' => array(
          '#entity' => 'node',
          '#label' => t('Content'),
        ),
      ),
      '#module' => t('Node Hierarchy'),
    ),
  );
}