protected function Entity::defineOptions in Drupal 10
Same name in this branch
- 10 core/modules/views/src/Plugin/views/area/Entity.php \Drupal\views\Plugin\views\area\Entity::defineOptions()
- 10 core/modules/views/src/Plugin/views/argument_validator/Entity.php \Drupal\views\Plugin\views\argument_validator\Entity::defineOptions()
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/argument_validator/Entity.php \Drupal\views\Plugin\views\argument_validator\Entity::defineOptions()
- 9 core/modules/views/src/Plugin/views/argument_validator/Entity.php \Drupal\views\Plugin\views\argument_validator\Entity::defineOptions()
2 calls to Entity::defineOptions()
- TermName::defineOptions in core/
modules/ taxonomy/ src/ Plugin/ views/ argument_validator/ TermName.php - User::defineOptions in core/
modules/ user/ src/ Plugin/ views/ argument_validator/ User.php
2 methods override Entity::defineOptions()
- TermName::defineOptions in core/
modules/ taxonomy/ src/ Plugin/ views/ argument_validator/ TermName.php - User::defineOptions in core/
modules/ user/ src/ Plugin/ views/ argument_validator/ User.php
File
- core/
modules/ views/ src/ Plugin/ views/ argument_validator/ Entity.php, line 83
Class
- Entity
- Defines an argument validator plugin for each entity type.
Namespace
Drupal\views\Plugin\views\argument_validatorCode
protected function defineOptions() {
$options = parent::defineOptions();
$options['bundles'] = [
'default' => [],
];
$options['access'] = [
'default' => FALSE,
];
$options['operation'] = [
'default' => 'view',
];
$options['multiple'] = [
'default' => FALSE,
];
return $options;
}