protected function Entity::defineOptions in Zircon Profile 8
Same name in this branch
- 8 core/modules/views/src/Plugin/views/area/Entity.php \Drupal\views\Plugin\views\area\Entity::defineOptions()
- 8 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.0 core/modules/views/src/Plugin/views/argument_validator/Entity.php \Drupal\views\Plugin\views\argument_validator\Entity::defineOptions()
Retrieve the options when this is a new access control plugin
Overrides ArgumentValidatorPluginBase::defineOptions
2 calls to Entity::defineOptions()
- TermName::defineOptions in core/
modules/ taxonomy/ src/ Plugin/ views/ argument_validator/ TermName.php - Retrieve the options when this is a new access control plugin
- User::defineOptions in core/
modules/ user/ src/ Plugin/ views/ argument_validator/ User.php - Retrieve the options when this is a new access control plugin
2 methods override Entity::defineOptions()
- TermName::defineOptions in core/
modules/ taxonomy/ src/ Plugin/ views/ argument_validator/ TermName.php - Retrieve the options when this is a new access control plugin
- User::defineOptions in core/
modules/ user/ src/ Plugin/ views/ argument_validator/ User.php - Retrieve the options when this is a new access control plugin
File
- core/
modules/ views/ src/ Plugin/ views/ argument_validator/ Entity.php, line 75 - Contains \Drupal\views\Plugin\views\argument_validator\Entity.
Class
- Entity
- Defines a argument validator plugin for each entity type.
Namespace
Drupal\views\Plugin\views\argument_validatorCode
protected function defineOptions() {
$options = parent::defineOptions();
$options['bundles'] = array(
'default' => array(),
);
$options['access'] = array(
'default' => FALSE,
);
$options['operation'] = array(
'default' => 'view',
);
$options['multiple'] = array(
'default' => FALSE,
);
return $options;
}