The Block Token module allows you to create the tokens for blocks on site.
Key Features
- Specify the blocks that will have the tokens generated for
- (Optional) Use the tokens within text formats using Token Filter module
Dependencies
- Block
- Token
- (Optional) Token Filter
Usage with Token Filter
- Enable "Replace Tokens" filter for specific text formats. E.g. for full_html on
/admin/config/content/formats/full_html - Check the "Create the token for this block" checkbox for the block on edit screen.
- Put the token of enabled block, e.g.
[block_token:system:navigation], to the content field formatted with the text format with token replacement.
Supporting organizations:
Project information
- Project categories: Content editing experience
781 sites report using this module
- Created by skullhole on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
8.x-1.2
released 22 February 2025
Works with Drupal: ^8.8 || ^9 || ^10 || ^11
Install:
Development version: 8.x-1.x-dev updated 22 Feb 2025 at 16:36 UTC

