Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

token_eca_alter

65 sites Security covered
View on drupal.org

Token ECA alter allows you to alter the output of other tokens with ECA module.

Usage

[token-eca:{existing token}#{key}]

[token-eca:{existing token}#{key}#{other_key}]

In ECA {key} used with Token Alter Event to identify by [token_alter_key], [token_alter_data] is the data of {existing token}.

After alter data use Token Alter: set data to set altered data.

Exist key with module:

Truncate:

Truncate data with default length 300 or define length option. Useful for using with Metatag data need truncate the text.

[token-eca:node:title#truncate]
[token-eca:node:title#truncate{length:100}]

Title case

Uppercases the first letter of each word.

[token-eca:node:title#title-case]

Uppercase

Uppercases all characters.

[token-eca:node:title#uppercase]

Lowwercase

Lowercases all characters.

[token-eca:node:title#lowercase]

first-uppercase

Uppercase first characters.

[token-eca:node:title#first-uppercase]

first-lowercase

Lowercase first characters.

[token-eca:node:title#first-lowercase]

base64-encode

Base64 encode string.

[token-eca:node:title#base64-encode]

base64-decode

Base64 decode string.

[token-eca:node:title#base64-decode]

md5

Md5 hash string.

[token-eca:node:title#md5]

sha1

Sha1 hash string.

[token-eca:node:title#sha1]

sha256

Sha256 hash string.

[token-eca:node:title#sha256]

url-encode

URL encode string.

[token-eca:node:url#url-encode]

url-decode

URL decode string.

[token-eca:node:field-url#url-decode]

Token alter chains

[token-eca:node:title#lowercase#first-uppercase]

Extend
You can define your key and use ECA to alter the token value with your requirements.

SUPPORT DEVELOPMENT

Buy me a coffee 🥤

Donation vith Paypal by email: [email protected]

Activity

Total releases
2
First release
Oct 2025
Latest release
5 months ago
Release cadence
0 days
Stability
0% stable

Releases

Version Type Release date
3.0.0-beta2 Pre-release Oct 30, 2025
3.0.0-beta1 Pre-release Oct 30, 2025