public function DisplayRouterInterface::getAlteredRouteNames in Drupal 9
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/display/DisplayRouterInterface.php \Drupal\views\Plugin\views\display\DisplayRouterInterface::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.
See also
\Drupal\views\Plugin\views\display\DisplayRouterInterface::alterRoutes()
1 method overrides DisplayRouterInterface::getAlteredRouteNames()
- PathPluginBase::getAlteredRouteNames in core/
modules/ views/ src/ Plugin/ views/ display/ PathPluginBase.php - Returns the list of routes overridden by Views.
File
- core/
modules/ views/ src/ Plugin/ views/ display/ DisplayRouterInterface.php, line 68
Class
- DisplayRouterInterface
- Defines an interface for displays that can collect routes.
Namespace
Drupal\views\Plugin\views\displayCode
public function getAlteredRouteNames();