This module provides a form to test and debug Drupal tokens. You can enter entity IDs and text containing tokens to see how they are processed and replaced with actual values. It also offers an option to inspect the cacheability metadata associated with token generation.
Provides a form to debug tokens:
- Fill in some entity types/IDs like
node:17 - Browse tokens (needs token module)
- Fill in some text with tokens, like
This is node "[node:title]" by "[node:author:name]". - Click
Submit - => See the text with tokens replaced, like
This is node "Test page" by "admin". - Optionally, get a dump of token cacheability (cache tags, contexts, and max-age)
Drupal 8–11
Ask your assistant about Token Debug
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.