Block Token

Component ID

2579649

Component name

Block Token

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

2897

Component created

Component changed

Component body

The Block Token module allows you to create the tokens for blocks on site.

Key Features

  1. Specify the blocks that will have the tokens generated for
  2. (Optional) Use the tokens within text formats using Token Filter module

Dependencies

  1. Block
  2. Token
  3. (Optional) Token Filter

Usage with Token Filter

  1. Enable "Replace Tokens" filter for specific text formats. E.g. for full_html on /admin/config/content/formats/full_html
  2. Check the "Create the token for this block" checkbox for the block on edit screen.
  3. Put the token of enabled block, e.g. [block_token:system:navigation], to the content field formatted with the text format with token replacement.