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.

Currently, we define our plugins using docblock annotations. These can be converted using machine-translation tools, namely Drupal Rector.

Issue fork google_cse-3559692

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.

mark_fullmer’s picture

Status: Active » Fixed

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.

  • mark_fullmer committed 3ee7df14 on 5.x
    #3559692 [Drupal 12] Convert plugin annotations to attributes
    

Status: Fixed » Closed (fixed)

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