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.). 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. If you want to get all values if the value is empty, check the box and enable in the fieldgroup "exception" the "all" argument. This module requires Views and the Token module for browsing and looking up Token types.

#3435403: Automated Drupal 11 compatibility fixes for views_argument_token
project update bot
authored
Name | Last commit | Last update |
---|---|---|
src/Plugin/views/argument_default | ||
README.txt | ||
composer.json | ||
views_argument_token.info.yml | ||
views_argument_token.module |