Problem/Motivation
Drupal core is switching from Annotations to Attributes. User Protect should also provide an Attribute class so that downstream modules can start converting.
Proposed resolution
First, just add Attribute support for the UserProtection plugin type.
In a future follow-up, convert annotations to attributes. That would also require to drop Drupal 9 support.
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork userprotect-3568185
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
Comment #3
megachrizComment #4
megachrizThe code is scheduled to be merged!