Generated with the help of an LLM.
Problem/Motivation
Core deprecated annotation discovery in drupal:11.3.0, so drupal.org CI's phpunit jobs report a deprecation for each of these plugins, removed from drupal:13.0.0 (https://www.drupal.org/node/3395575):
EntityEmbedFilter:@FilterEntityEmbedFakeEntity:@ContentEntityTypePlugin\EmbedType\Entity:@EmbedTypePlugin\CKEditor5Plugin\DrupalEntity:@CKEditor5Plugin
Entity Embed now requires Drupal ^11.3 and Embed ^1.12, which have the matching attributes.
Proposed resolution
Replace each annotation with its attribute: #[Filter], #[ContentEntityType], #[EmbedType] and #[CKEditor5Plugin] (with CKEditor5AspectsOfCKEditor5Plugin and DrupalAspectsOfCKEditor5Plugin, keeping the deriver).
Entity Embed's own display plugins already use #[EntityEmbedDisplay] since #3554612: Not supporting attribute discovery. @CKEditorPlugin stays until CKEditor 4 support is removed in 2.0.x (#3639495: [meta] What to remove in 2.0.x).
AI disclosure
I used Claude Code to find the deprecated annotations and draft this summary; I reviewed the CI output and chose the scope.
Issue fork entity_embed-3639506
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
Comment #3
dave reid