Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
As said in #1780396-64: Namespaces of disabled modules are registered during test runs, removing Drupal\edit\Plugin\EditorManager::processDefinition()
was forgotten in #1836008: Remove drupal_classloader() use in Drupal\Core\AnnotatedClassDiscovery.
This is a tiny patch that follows the pattern established by #1836008: Remove drupal_classloader() use in Drupal\Core\AnnotatedClassDiscovery. Originally this was going to be removed by #1903346: Establish a new DefaultPluginManager to encapsulate best practices, but that turns out to no longer be true. Hence this small new issue.
Comment | File | Size | Author |
---|---|---|---|
#8 | cleanup_module_annotations-2006278-8.patch | 11.66 KB | Wim Leers |
#1 | cleanup_module_annotations-2006278-1.patch | 11.42 KB | Wim Leers |
Comments
Comment #1
Wim LeersSo it turns out that the 'module' keys were not removed from the "CKEditor" and "Editor" modules either, for an unknown reason. They should have been removed in #1836008: Remove drupal_classloader() use in Drupal\Core\AnnotatedClassDiscovery where possible. E.g. the block and entity plugins use them, but Edit nor Editor nor CKEditor does.
Comment #2
EclipseGc CreditAttribution: EclipseGc commentedif that comes back green, it looks super sane to me. RTBC pending green.
Eclipse
Comment #4
tim.plunkett#1: cleanup_module_annotations-2006278-1.patch queued for re-testing.
Comment #5
BerdirLooks good.
Comment #6
Dries CreditAttribution: Dries commented#1: cleanup_module_annotations-2006278-1.patch queued for re-testing.
Comment #7
Dries CreditAttribution: Dries commentedPatch no longer applies so asking for a re-test.
Comment #8
Wim LeersComment #9
effulgentsia CreditAttribution: effulgentsia commentedComment #10
alexpottCommitted ba80bc3 and pushed to 8.x. Thanks!
Comment #11
Wim Leers.