function nodehierarchy_views_arguments in Node Hierarchy 5
Implementation of hook_views_arguments().
File
- nodehierarchy_views/
nodehierarchy_views.module, line 258 - Views.module integration for nodehierarchy.module.
Code
function nodehierarchy_views_arguments() {
$arguments = array(
'parent' => array(
'name' => t('Node Hierarchy: Parent Node ID'),
'handler' => 'views_handler_arg_nodehierarchy_parent',
'help' => t('Get all of the children of the given node'),
),
'antecedent' => array(
'name' => t('Node Hierarchy: Descendant Of'),
'handler' => 'views_handler_arg_nodehierarchy_antecedent',
'help' => t('Get all of the descendants of the given node'),
),
);
return $arguments;
}