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

Command icon 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

megachriz created an issue. See original summary.

megachriz’s picture

Status: Active » Needs review
megachriz’s picture

Status: Needs review » Fixed

The code is scheduled to be merged!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

  • megachriz committed d4f04fce on 8.x-1.x
    Issue #3568185 by megachriz: Added support for Attributes.
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.