function nodehierarchy_condition_info in Node Hierarchy 6
Same name and namespace in other branches
- 5 nodehierarchy_workflow_ng.inc \nodehierarchy_condition_info()
- 6.3 includes/nodehierarchy_workflow_ng.inc \nodehierarchy_condition_info()
- 6.2 includes/nodehierarchy_workflow_ng.inc \nodehierarchy_condition_info()
Implementation of hook_condition_info()
File
- ./
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'),
),
);
}