You are here

public function DisplayRouterInterface::getAlteredRouteNames in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/display/DisplayRouterInterface.php \Drupal\views\Plugin\views\display\DisplayRouterInterface::getAlteredRouteNames()
  2. 9 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 69

Class

DisplayRouterInterface
Defines an interface for displays that can collect routes.

Namespace

Drupal\views\Plugin\views\display

Code

public function getAlteredRouteNames();