Token name in RenderElementActionBase cannot be specified as nested token

Issue information

From user: mxh

Related to !499 (merged)

Contribution record

Fork management

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/Plugin/Action/RenderElementActionBase.php?ref_type=heads#L185

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

TBC

Proposed resolution

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

Remaining tasks

Review & Test

User interface changes

TBC

API changes

TBC

Data model changes

TBC

Edited by drupalbot
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information