Views Advanced Routing
Categories
Component ID
2569941
Component name
Views Advanced Routing
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Downloads
3775
Component created
Component changed
Component body
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 can set the defaults, requirements, and options for each route.
|
|
Support requests are taken on Drupal Answers with the views tag. Ask a question! |
|
|
Please post bug reports and feature requests to the GitHub project. |
Usage
Enable Views Advanced Routing
- Enable the module.
- Go to Administration -> Structure -> Views
Click the 'Settings' tab.
Click the 'Advanced' sub tab. - Under Display extenders, enable the 'Route' checkbox.
- Save configuration.
Using Routes
- Open a view with a 'page' or 'feed' display.
- In the center column, a new 'Route' setting will be displayed. Click the link to set your custom route settings.
- 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.
- Save the view.
