Token name in RenderElementActionBase cannot be specified as nested token

Created on 11 April 2025, about 2 months ago

Problem/Motivation

The base class RenderElementActionBase includes the option to specify a token name:
https://git.drupalcode.org/project/eca/-/blob/2.1.x/modules/render/src/P...

However that is defined as type machine name. But a machine name doesn't allow ":" characters and that's why it's currently not possible to specify a nested token like "mytoken:nested".

Steps to reproduce

Proposed resolution

Change the configuration field type from machine name to a regular textfield type.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

2.1

Component

Code

Created by

🇩🇪Germany mxh Offenburg

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024