function PathPluginBase::defineOptions
Same name in other branches
- 8.9.x core/modules/views/src/Plugin/views/display/PathPluginBase.php \Drupal\views\Plugin\views\display\PathPluginBase::defineOptions()
- 10 core/modules/views/src/Plugin/views/display/PathPluginBase.php \Drupal\views\Plugin\views\display\PathPluginBase::defineOptions()
- 11.x core/modules/views/src/Plugin/views/display/PathPluginBase.php \Drupal\views\Plugin\views\display\PathPluginBase::defineOptions()
Overrides \Drupal\views\Plugin\views\display\DisplayPluginBase:defineOptions().
Overrides DisplayPluginBase::defineOptions
3 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().
- RestExport::defineOptions in core/
modules/ rest/ src/ Plugin/ views/ display/ RestExport.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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.