Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Token Browser

54 sites Security covered Drupal 11 · not 10 Token ecosystem
View on drupal.org

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,
    ];
    
  • As of version 1.0.1, administrators can globally alter the theme registry for every existing token_tree_link to automatically use this token browser. The settings form is available at /admin/config/user-interface/token-browser

Quick Start

To use this token browser everywhere on your site, do the following:

  1. Navigate to the settings form at /admin/config/user-interface/token-browser.
  2. Check the box Replace Token module's default browser sitewide.
  3. Check the box Force recursion limit. This is recommended.
  4. Click Save configuration button.
  5. Anywhere you see a Browse available tokens link should now point to the Token browser route.

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.

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Nov 2025
Latest release
1 month ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
1.0.1 Stable 11 Jul 27, 2026
1.0.0 Stable 11 Nov 15, 2025
1.0.x-dev Dev 11 Nov 13, 2025