By megachriz on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.x-1.x
Introduced in version:
8.x-1.0-beta2
Issue links:
Description:
The Tamper plugins in the Tamper module used to define the category as a plain string, see for example in the following definition:
/**
* Plugin implementation for setting a value or default value.
*
* @Tamper(
* id = "default_value",
* label = @Translation("Set value or default value"),
* description = @Translation("Set value or default value."),
* category = "Text"
* )
*/
Modules that define Tamper plugins are encouraged to use a translatable string for the category property from now on.
Before
* category = "Text"
After
* category = @Translation("Text")
Impacts:
Module developers