Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
- Module categories: Content Editing Experience
- 797 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.0
released 10 December 2023
Works with Drupal: ^8.8 || ^9 || ^10
✓ Recommended by the project’s maintainer.
Install:
Development version: 8.x-1.x-dev updated 10 Dec 2023 at 21:39 UTC
7.x-1.0
released 22 January 2016
Works with Drupal: 7.x
✓ Recommended by the project’s maintainer.
Development version: 7.x-1.x-dev updated 9 Sep 2022 at 21:20 UTC