protected function IndexTidDepth::defineOptions in Drupal 10
Same name and namespace in other branches
- 8 core/modules/taxonomy/src/Plugin/views/argument/IndexTidDepth.php \Drupal\taxonomy\Plugin\views\argument\IndexTidDepth::defineOptions()
- 9 core/modules/taxonomy/src/Plugin/views/argument/IndexTidDepth.php \Drupal\taxonomy\Plugin\views\argument\IndexTidDepth::defineOptions()
File
- core/
modules/ taxonomy/ src/ Plugin/ views/ argument/ IndexTidDepth.php, line 51
Class
- IndexTidDepth
- Argument handler for taxonomy terms with depth.
Namespace
Drupal\taxonomy\Plugin\views\argumentCode
protected function defineOptions() {
$options = parent::defineOptions();
$options['depth'] = [
'default' => 0,
];
$options['break_phrase'] = [
'default' => FALSE,
];
$options['use_taxonomy_term_path'] = [
'default' => FALSE,
];
return $options;
}