Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module allows you to use tokens as contextual filters in Views, enabling you to customize how views are displayed based on current user or page-specific entity information. It also offers an option to use raw token values and includes a debug mode for easier troubleshooting.

Views Token Argument allows you to use token as contextual filter for Views.

You can use both current user values or the entity related to the current page (for example the current node on node/x pages, or the user on user/x, etc.). The dev branch (2.0.x) now supports global tokens.

Moreover you have an option to take the raw value for the fields (for example ID instead of linked title provided by token module).

Example use case : a user has an entity reference to taxonomies and you wish to show in a view all content related to the terms the user has selected. Or you wish to show last contents that have the same category of the current viewed node...

There is also a debug mode to show you the final value after processing.

This module has no dependencies but uses Token module to browse available tokens.

Similar module : Views Extras (Session / Cookie / Token support) allows you use session, cookie or token of the current user. Difference for now is that it does not provide with current page argument (node, taxonomy, etc.).

Activity

Total releases
4
First release
Mar 2025
Latest release
1 month ago
Releases (12 mo)
3 ▲ from 1
Maintenance
Active

Release Timeline

Releases

Version Type Release date
2.0.6 Stable Jun 17, 2026
2.0.5 Stable Jun 17, 2026
2.0.4 Stable Jun 17, 2026
2.0.3 Stable Mar 21, 2025