protected function NodeTermData::defineOptions in Drupal 10
Same name and namespace in other branches
- 8 core/modules/taxonomy/src/Plugin/views/relationship/NodeTermData.php \Drupal\taxonomy\Plugin\views\relationship\NodeTermData::defineOptions()
- 9 core/modules/taxonomy/src/Plugin/views/relationship/NodeTermData.php \Drupal\taxonomy\Plugin\views\relationship\NodeTermData::defineOptions()
Overrides RelationshipPluginBase::defineOptions
File
- core/
modules/ taxonomy/ src/ Plugin/ views/ relationship/ NodeTermData.php, line 56
Class
- NodeTermData
- Relationship handler to return the taxonomy terms of nodes.
Namespace
Drupal\taxonomy\Plugin\views\relationshipCode
protected function defineOptions() {
$options = parent::defineOptions();
$options['vids'] = [
'default' => [],
];
return $options;
}