protected function Tid::defineOptions in Drupal 10
Same name and namespace in other branches
- 8 core/modules/taxonomy/src/Plugin/views/argument_default/Tid.php \Drupal\taxonomy\Plugin\views\argument_default\Tid::defineOptions()
- 9 core/modules/taxonomy/src/Plugin/views/argument_default/Tid.php \Drupal\taxonomy\Plugin\views\argument_default\Tid::defineOptions()
File
- core/
modules/ taxonomy/ src/ Plugin/ views/ argument_default/ Tid.php, line 76
Class
- Tid
- Taxonomy tid default argument.
Namespace
Drupal\taxonomy\Plugin\views\argument_defaultCode
protected function defineOptions() {
$options = parent::defineOptions();
$options['term_page'] = [
'default' => TRUE,
];
$options['node'] = [
'default' => FALSE,
];
$options['anyall'] = [
'default' => ',',
];
$options['limit'] = [
'default' => FALSE,
];
$options['vids'] = [
'default' => [],
];
return $options;
}