Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Views Any Route Button

No security coverage Under active development 52 sites

Part of the Views ecosystem · 286 projects

This module allows you to add buttons to your Drupal Views that link to any route. It uses Drupal's routing system and can dynamically populate route parameters, enabling you to control button visibility based on route access permissions.

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.

Ask your assistant about Views Any Route Button

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

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.

Activity

Tracked releases
1
Tracked since
Apr 2023
Latest release
3 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core PHP Release date
2.0.0-beta3 Pre-release 8–10 Apr 18, 2023