Module Description
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.
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.
Module Link
Project Usage
670
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
The Block Token module solves the issue of creating tokens for specific blocks on a site and using them within text formats using the Token Filter module.
Data Name
block_token