public function DisplayRouterInterface::collectRoutes

Adds the route entry of a view to the collection.

Parameters

\Symfony\Component\Routing\RouteCollection $collection: A collection of routes that should be registered for this resource.

1 method overrides DisplayRouterInterface::collectRoutes()
PathPluginBase::collectRoutes in drupal/core/modules/views/lib/Drupal/views/Plugin/views/display/PathPluginBase.php
Adds the route entry of a view to the collection.

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/display/DisplayRouterInterface.php, line 26
Contains \Drupal\views\Plugin\views\display\DisplayRouterInterface.

Class

DisplayRouterInterface

Namespace

Drupal\views\Plugin\views\display

Code

public function collectRoutes(RouteCollection $collection);