protected function PathPluginBase::defineOptions in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/display/PathPluginBase.php \Drupal\views\Plugin\views\display\PathPluginBase::defineOptions()
- 9 core/modules/views/src/Plugin/views/display/PathPluginBase.php \Drupal\views\Plugin\views\display\PathPluginBase::defineOptions()
Overrides \Drupal\views\Plugin\views\display\DisplayPluginBase:defineOptions().
2 calls to PathPluginBase::defineOptions()
- Feed::defineOptions in core/
modules/ views/ src/ Plugin/ views/ display/ Feed.php - Overrides \Drupal\views\Plugin\views\display\DisplayPluginBase:defineOptions().
- Page::defineOptions in core/
modules/ views/ src/ Plugin/ views/ display/ Page.php - Overrides \Drupal\views\Plugin\views\display\DisplayPluginBase:defineOptions().
3 methods override PathPluginBase::defineOptions()
- Feed::defineOptions in core/
modules/ views/ src/ Plugin/ views/ display/ Feed.php - Overrides \Drupal\views\Plugin\views\display\DisplayPluginBase:defineOptions().
- Page::defineOptions in core/
modules/ views/ src/ Plugin/ views/ display/ Page.php - Overrides \Drupal\views\Plugin\views\display\DisplayPluginBase:defineOptions().
- RestExport::defineOptions in core/
modules/ rest/ src/ Plugin/ views/ display/ RestExport.php - Overrides \Drupal\views\Plugin\views\display\DisplayPluginBase:defineOptions().
File
- core/
modules/ views/ src/ Plugin/ views/ display/ PathPluginBase.php, line 107
Class
- PathPluginBase
- The base display plugin for path/callbacks. This is used for pages and feeds.
Namespace
Drupal\views\Plugin\views\displayCode
protected function defineOptions() {
$options = parent::defineOptions();
$options['path'] = [
'default' => '',
];
$options['route_name'] = [
'default' => '',
];
return $options;
}