Loading
refactor: #3639285 Convert the test modules' hooks to OOP hooks
Description
Follow-up to !78 (merged): converts the test modules' procedural hooks to OOP hooks. Drupal 11.5 deprecates code in .module files.
Issue: https://www.drupal.org/project/entity_embed/issues/3639285
entity_embed_test: newEntityEmbedTestHookswith thetheme,entity_embed_display_plugins_alter,entity_embed_context_alter,entity_embed_alter,entity_accessandentity_view_alterhooks;entity_embed_test.moduledeleted.entity_embed_ckeditor_test: newEntityEmbedCkeditorTestHookswitheditor_info_alter;entity_embed_ckeditor_test.moduledeleted.
AI disclosure
Claude Code (Claude Opus 5.5) converted the hooks and wrote this description. I asked for the conversion after spotting the remaining .module deprecations in !78 (merged)'s pipeline, reviewed the change, and ran the kernel, functional and FunctionalJavascript tests locally.