function views_taxonomy_term_name_depth_views_data_alter in Views Taxonomy Term Name Depth 8.3
Same name and namespace in other branches
- 8.6 views_taxonomy_term_name_depth.views.inc \views_taxonomy_term_name_depth_views_data_alter()
- 8 views_taxonomy_term_name_depth.views.inc \views_taxonomy_term_name_depth_views_data_alter()
- 7.x views_taxonomy_term_name_depth.views.inc \views_taxonomy_term_name_depth_views_data_alter()
Implements hook_views_data_alter().
File
- ./
views_taxonomy_term_name_depth.views.inc, line 7
Code
function views_taxonomy_term_name_depth_views_data_alter(&$data) {
$data['node_field_data']['term_node_taxonomy_name_depth'] = array(
'help' => t('Display content if it has the selected taxonomy terms, or children of the selected terms. Due to additional complexity, this has fewer options than the versions without depth.'),
'real field' => 'nid',
'argument' => array(
'title' => t('Has taxonomy term name with Depth'),
'id' => 'taxonomy_index_name_depth',
'accept depth modifier' => TRUE,
),
);
}