Views Any Route generates buttons in Views using Drupal's routing system, in which a user enters the route and parameters, and Views tokenization can provide parameter values.
The main use case for this module is to leverage Drupal's route access checking, so that buttons show or hide based on access conditions. While Views Add Button focused exclusively on creating entities in such a way that a user did not need to understand Drupal routes, Views Any Route lets a developer leverage every possible route in Drupal.
Annotation Plugin
Like our earlier Views Add Button module, Views Any route has an annotation plugin, @ViewsAnyRoute, that lets you specify the behaviors of certain key functions in constructing a button. You will be able to modify the settings form, access checking, URL generation, and link generation steps with this plugin. Documentation is pending, and will be a part of the full release.
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
More in the Views ecosystem
Most installed first
Activity
Releases
| Version | Type | Core | Release date | |
|---|---|---|---|---|
| 2.0.0-beta3 | Pre-release | Apr 18, 2023 |