Closed (fixed)
Project:
Drupal core
Version:
11.x-dev
Component:
base system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
13 Feb 2024 at 02:57 UTC
Updated:
28 Feb 2024 at 18:19 UTC
Jump to comment: Most recent
In #3252386: Use PHP attributes instead of doctrine annotations we added support for attribute based plugin discovery.
As part of that issue we converted block and action plugins.
This issue is to convert \Drupal\Core\Annotation\Mail plugins to use Attributes.
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
Comment #2
larowlanGiving one of these a shot to test the instructions
Comment #4
larowlanLooks like the instructions worked - MR https://git.drupalcode.org/project/drupal/-/merge_requests/6565
Comment #5
smustgrave commentedBased on how Block and Action are this looks inline with those.
Searched for @Mail and all instances appear to be updated.
Comment #6
larowlanComment #9
larowlanAddressed reviews
Comment #10
smustgrave commentedAppears all feedback has been addressed, thanks @mstrelan for those threads I'll be keeping an eye out for that kind of stuff as more tickets roll in.
Comment #11
longwaveLooks great to me. A new attribute, which is then used in the plugin manager, and a 1:1 replacement of the plugins themselves.
Annotation deprecations have not yet landed but we don't need to wait for that here.
Committed a2c8988 and pushed to 11.x. Thanks!
Will update the relevant change record to include mail plugins.