function TaxonomyIndexTidDepth::defineOptions
Overrides TaxonomyIndexTid::defineOptions
File
-
core/
modules/ taxonomy/ src/ Plugin/ views/ filter/ TaxonomyIndexTidDepth.php, line 27
Class
- TaxonomyIndexTidDepth
- Filter handler for taxonomy terms with depth.
Namespace
Drupal\taxonomy\Plugin\views\filterCode
protected function defineOptions() {
$options = parent::defineOptions();
$options['depth'] = [
'default' => 0,
];
return $options;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.