Tamper: Rewrite¶
Plugin ID: eca_tamper:rewrite
Available since: 1.0.0
Rewrite a field using tokens.
Fields¶
Data to be tampered— config key:eca_data-
This field supports tokens.Type:
textfield· Required: yes · Default: empty string Result token name— config key:eca_token_name-
Provide a token name under which the tampered result will be made available for subsequent actions.
Type:
textfield· Required: yes · Default: empty string Replacement pattern— config key:text-
- You can insert values using square brackets like
[fieldname](see replacement patterns below). - You can also use nested values such as
[author.name.first]or[address.street]. - If the input is an array, the plugin will apply the expression to each value.
- You can also use the special placeholder
{key}to insert the current array key. For example:[prices.{key}.amount].
Type:
textarea· Required: no · Default: empty string - You can insert values using square brackets like
Available replacement patterns— config key:replacement_patterns-
Type:
fieldset· Required: no