views_taxonomy_term_name_depth.views.inc in Views Taxonomy Term Name Depth 8.3
File
views_taxonomy_term_name_depth.views.inc
View source
<?php
use Drupal\field\FieldStorageConfigInterface;
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,
),
);
}