Problem/Motivation

It's currently not possible to clear tokens if they're unused because it uses the default option which is to have it disabled.

Steps to reproduce

Provide a rules token with an irreplaceable token.

Proposed resolution

Provide a global setting, with the option to have granular options that can be set on the individual context data level - see #3095216: [meta] Data Processors

Remaining tasks

Provide issue fork.

User interface changes

There's a global setting to enable clearing of invalid tokens.

As well as the ability to set individual context processor settings, e.g. if only a specific field needs to clear the token or opt out.

API changes

Introduce new interfaces and classes for context data processor plugins that can provide form configurations.

Data model changes

N/A

Issue fork rules-3539582

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

codebymikey created an issue. See original summary.

codebymikey’s picture

Status: Active » Needs review