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). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). 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 offers an alternative way to browse all available tokens on your Drupal site using HTMX. It allows you to view deeply nested tokens without encountering recursion limits that could crash your site. Developers can also integrate this token browsing functionality into their own forms.

Provides an alternative Token browser element using HTMX for requests. Browse all tokens available on your site with no depth limitations.

Features

  • Browse deep nested tokens beyond the default recursion depth limit without crashing your site.
  • Visit the help page on your site at /admin/help/token_browser to see all available tokens.
  • For Developers: Provides an alternative theme function to attach token browser functionality to form fields.
    Replace '#theme' => 'token_tree_link'
    With '#theme' => 'token_browser_link'
    Example:
    $form['tokens'] = [
      '#theme' => 'token_browser_link',
      '#token_types' => ['node', 'user'],
      '#global_types' => TRUE,
    ];
    

Integrations

These modules will automatically use the token browser form element provided by this module where applicable:

Similar projects

Fast Token Browser
This was a Drupal 7 module that never got ported but claims to achieve the same objective using ajax. My module uses the new HTMX library in Drupal core and completely eliminate the need for any Jquery.

Activity

Total releases
2
First release
Nov 2025
Latest release
8 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Slowing

Releases

Version Type Release date
1.0.0 Stable Nov 15, 2025
1.0.x-dev Dev Nov 13, 2025