Views Advanced Routing is a module providing a custom display extender for Views allowing you to take advantage of Drupal 8's new routing system. You're now able to set the defaults, requirements, and options for each view route.

Stack Exchange Support requests are taken on Drupal Answers with the views tag. Ask a question!

Usage

Enable Views Advanced Routing

  1. Enable the module.
  2. Go to Administration -> Structure -> Views
    Click the 'Settings' tab.
    Click the 'Advanced' sub tab.
  3. Under Display extenders, enable the 'Route' checkbox.
  4. Save configuration.

Using Routes

  1. Open a view with a 'page' or 'feed' display.
  2. In the center column, a new 'Route' setting will be displayed. Click the link to set your custom route settings.
  3. Route YAML is in the same format as Drupals '*routing.yml' files. Strip top level YAML keys such as defaults, requirements, options. Input values directly into the textbox.
  4. Save the view.

Support

1.x branch is no longer supported, 2.x is a drop in replacement for 1.x.

Supporting organizations: 
Maintenance time

Project information

Releases