function PathPluginBase::getAlteredRouteNames
Returns the list of routes overridden by Views.
Return value
string[] An array of overridden route names. The keys are in the form view_id.display_id and the values are the route names.
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.
