function PathPluginBase::defineOptions
Overrides view display plugin base.
Overrides display plugin definition options with \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 view display plugin base.
- Page::defineOptions in core/
modules/ views/ src/ Plugin/ views/ display/ Page.php - Overrides view display plugin base.
- RestExport::defineOptions in core/
modules/ rest/ src/ Plugin/ views/ display/ RestExport.php - Overrides view display plugin base.
3 methods override PathPluginBase::defineOptions()
- Feed::defineOptions in core/
modules/ views/ src/ Plugin/ views/ display/ Feed.php - Overrides view display plugin base.
- Page::defineOptions in core/
modules/ views/ src/ Plugin/ views/ display/ Page.php - Overrides view display plugin base.
- RestExport::defineOptions in core/
modules/ rest/ src/ Plugin/ views/ display/ RestExport.php - Overrides view display plugin base.
File
-
core/
modules/ views/ src/ Plugin/ views/ display/ PathPluginBase.php, line 97
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.