Problem/Motivation

Drupal 10.3 made available defining plugins using PHP Attributes (https://www.drupal.org/docs/drupal-apis/plugin-api/attribute-based-plugins), and these attributes on plugins are **required** in Drupal 12.

Proposed resolution

Currently, Date Augmenter defines its plugins using Doctrine-style annotations. These should be retained for the time being for backward compatibility (sites < 10.3), but PHP Attribute support should be added for forward compatibility (Drupal 12+).

Remaining tasks

Add the Attribute(s)

User interface changes

N/A

API changes

N/A

Data model changes

N/A

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

mark_fullmer created an issue. See original summary.

mandclu made their first commit to this issue’s fork.

  • mandclu committed 95e67fcc on 1.1.x authored by mark_fullmer
    task: #3591102 Support PHP Attributes for plugins
    
    By: mark_fullmer
    By:...
mandclu’s picture

Status: Active » Fixed

Thanks for your work on this. Merged in, and I will roll a new release shortly.

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.

Status: Fixed » Closed (fixed)

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