Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Block Token

Security covered Under active development 784 sites

This module enables the creation and use of custom tokens for blocks. These tokens can then be inserted into content fields, allowing for dynamic display of block information where the Token Filter module is enabled.

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.
Drupal 8–11

Ask your assistant about Block Token

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

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
4
Tracked since
Dec 2023
Latest release
1 month ago
Releases (12 mo)
1
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
8.x-1.3 Stable 8–11 Sep 2, 2026
8.x-1.2 Stable 8–11 Feb 22, 2025
8.x-1.1 Stable 8–11 May 16, 2024
8.x-1.0 Stable 8–10 Dec 10, 2023