Convert plugin annotations to attributes

Created on 13 March 2025, 22 days ago

Problem/Motivation

Drupal Core is currently moving from using Doctrine annotations for plugin discovery to using PHP 8 attributes, so we should do the same thing both for the plugin types we define and the plugins we implement. (Not all Core plugin types have been converted yet, though, so need to wait for the latter.)

See the change records:
Plugin implementations should use PHP attributes instead of annotations
Plugin types should use PHP attributes instead of annotations

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Active

Version

1.1

Component

Code

Created by

🇮🇳India sonvir249 Pune

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024