function HandlerBase::defineOptions
Same name in other branches
- 9 core/modules/views/src/Plugin/views/HandlerBase.php \Drupal\views\Plugin\views\HandlerBase::defineOptions()
- 8.9.x core/modules/views/src/Plugin/views/HandlerBase.php \Drupal\views\Plugin\views\HandlerBase::defineOptions()
- 10 core/modules/views/src/Plugin/views/HandlerBase.php \Drupal\views\Plugin\views\HandlerBase::defineOptions()
Overrides PluginBase::defineOptions
6 calls to HandlerBase::defineOptions()
- AreaPluginBase::defineOptions in core/
modules/ views/ src/ Plugin/ views/ area/ AreaPluginBase.php - ArgumentPluginBase::defineOptions in core/
modules/ views/ src/ Plugin/ views/ argument/ ArgumentPluginBase.php - FieldPluginBase::defineOptions in core/
modules/ views/ src/ Plugin/ views/ field/ FieldPluginBase.php - FilterPluginBase::defineOptions in core/
modules/ views/ src/ Plugin/ views/ filter/ FilterPluginBase.php - RelationshipPluginBase::defineOptions in core/
modules/ views/ src/ Plugin/ views/ relationship/ RelationshipPluginBase.php
6 methods override HandlerBase::defineOptions()
- AreaPluginBase::defineOptions in core/
modules/ views/ src/ Plugin/ views/ area/ AreaPluginBase.php - ArgumentPluginBase::defineOptions in core/
modules/ views/ src/ Plugin/ views/ argument/ ArgumentPluginBase.php - FieldPluginBase::defineOptions in core/
modules/ views/ src/ Plugin/ views/ field/ FieldPluginBase.php - FilterPluginBase::defineOptions in core/
modules/ views/ src/ Plugin/ views/ filter/ FilterPluginBase.php - RelationshipPluginBase::defineOptions in core/
modules/ views/ src/ Plugin/ views/ relationship/ RelationshipPluginBase.php
File
-
core/
modules/ views/ src/ Plugin/ views/ HandlerBase.php, line 147
Class
- HandlerBase
- Base class for Views handler plugins.
Namespace
Drupal\views\Plugin\viewsCode
protected function defineOptions() {
$options = parent::defineOptions();
$options['id'] = [
'default' => '',
];
$options['table'] = [
'default' => '',
];
$options['field'] = [
'default' => '',
];
$options['relationship'] = [
'default' => 'none',
];
$options['group_type'] = [
'default' => 'group',
];
$options['admin_label'] = [
'default' => '',
];
return $options;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.