Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 294522

[policy, no patch] Allow both annotations and attributes in Drupal 11

$
0
0

Problem/Motivation

#3252386: Use PHP attributes instead of doctrine annotations adds attribute support for plugins and plugin managers to Drupal 10.2.0. However this is just the start of the journey: all plugin managers need separate work to support attributes, and then all plugins of each type need to be converted once the manager is done.

This is one of the biggest changes in recent history that affects contrib and custom code developers; core provides over 40 plugin types and managers alone, contrib adds more, and there are very large numbers of plugin implementations in contrib/custom that will require conversion.

Steps to reproduce

Proposed resolution

Given that this is happening relatively late in the Drupal 10 cycle and that we hope to release Drupal 11 in the second half of 2024, to make things easier for contrib and custom code developers I propose deferring the removal of annotations until at least Drupal 12, and that we should support both annotations and attributes side by side in Drupal 11 where the conversion process can take place.

Remaining tasks

Discuss
Agree

User interface changes

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 294522

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>