function Tid::defineOptions
Same name in other branches
- 9 core/modules/taxonomy/src/Plugin/views/argument_default/Tid.php \Drupal\taxonomy\Plugin\views\argument_default\Tid::defineOptions()
- 8.9.x core/modules/taxonomy/src/Plugin/views/argument_default/Tid.php \Drupal\taxonomy\Plugin\views\argument_default\Tid::defineOptions()
- 10 core/modules/taxonomy/src/Plugin/views/argument_default/Tid.php \Drupal\taxonomy\Plugin\views\argument_default\Tid::defineOptions()
Overrides ArgumentDefaultPluginBase::defineOptions
File
-
core/
modules/ taxonomy/ src/ Plugin/ views/ argument_default/ Tid.php, line 77
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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.