By godotislate on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
11.2.x
Introduced in version:
11.2.0
Issue links:
Description:
Attributes are parsed first, so for plugin classes that have both, the definition will be parsed from attributes.
When plugin discovery by PHP attributes was introduced, annotations in the plugin classes were parsed before attributes. This meant that if a plugin class had both the plugin attribute and plugin annotation (for backwards compatibility), then the plugin definition would be parsed from the annotation values, not the attribute values.
Impacts:
Module developers