function DisplayRouterInterface::getAlteredRouteNames

Same name in other branches
  1. 8.9.x core/modules/views/src/Plugin/views/display/DisplayRouterInterface.php \Drupal\views\Plugin\views\display\DisplayRouterInterface::getAlteredRouteNames()
  2. 10 core/modules/views/src/Plugin/views/display/DisplayRouterInterface.php \Drupal\views\Plugin\views\display\DisplayRouterInterface::getAlteredRouteNames()
  3. 11.x 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();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.