function PathPluginBase::getAlteredRouteNames
Same name in other branches
- 8.9.x core/modules/views/src/Plugin/views/display/PathPluginBase.php \Drupal\views\Plugin\views\display\PathPluginBase::getAlteredRouteNames()
- 10 core/modules/views/src/Plugin/views/display/PathPluginBase.php \Drupal\views\Plugin\views\display\PathPluginBase::getAlteredRouteNames()
- 11.x core/modules/views/src/Plugin/views/display/PathPluginBase.php \Drupal\views\Plugin\views\display\PathPluginBase::getAlteredRouteNames()
Overrides DisplayRouterInterface::getAlteredRouteNames
1 call to PathPluginBase::getAlteredRouteNames()
- PathPluginBase::getRouteName in core/
modules/ views/ src/ Plugin/ views/ display/ PathPluginBase.php - Returns the route name for the display.
File
-
core/
modules/ views/ src/ Plugin/ views/ display/ PathPluginBase.php, line 560
Class
- PathPluginBase
- The base display plugin for path/callbacks. This is used for pages and feeds.
Namespace
Drupal\views\Plugin\views\displayCode
public function getAlteredRouteNames() {
return $this->state
->get('views.view_route_names', []);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.