function nat_views_data_alter in Node Auto Term [NAT] 6.2
Same name and namespace in other branches
- 6 includes/nat.views.inc \nat_views_data_alter()
- 7.2 includes/nat.views.inc \nat_views_data_alter()
- 7 includes/nat.views.inc \nat_views_data_alter()
Implementation of hook_views_data_alter().
File
- includes/
nat.views.inc, line 134 - NAT (Node Auto Term) Views implementation.
Code
function nat_views_data_alter(&$data) {
$data['node']['nat_term_node_tid_depth'] = array(
'group' => t('NAT'),
'title' => t('Nid (with depth)'),
'help' => t('The node ID of the NAT with depth.'),
'real field' => 'vid',
'argument' => array(
'handler' => 'nat_handler_argument_term_node_tid_depth',
'accept depth modifier' => TRUE,
),
);
$data['node']['nat_term_node_tid_depth_modifier'] = array(
'group' => t('NAT'),
'title' => t('Nid depth modifier'),
'help' => t('Allows the "depth" for NAT: Nid (with depth) to be modified via an additional argument.'),
'argument' => array(
'handler' => 'nat_handler_argument_term_node_tid_depth_modifier',
),
);
}