Drupal is a registered trademark of Dries Buytaert

token_browser

22 sites Security covered
View on drupal.org

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
3 months ago
Release cadence
2 days
Stability
50% stable

Releases

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