Problem/Motivation
Part of #2999721: [META] Deprecate the legacy include files before Drupal 9 for drupal_classloader_register().
Proposed resolution
Deprecate drupal_classloader_register() & system_register() . Use directly the class_loader service, method ::addPsr4(), where needed.
Remaining tasks
None.
User interface changes
None.
API changes
None.
Data model changes
None.
Release notes snippet
None.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | interdiff-3035274-4-7.txt | 5.15 KB | naveenvalecha |
| #7 | 3035274-7.patch | 5.47 KB | naveenvalecha |
Comments
Comment #2
claudiu.cristeaPatch.
Comment #3
berdirsystem_register() seems unused in core, instead of updating the usage there we could also just not touch it and instead deprecate it too? Done that in some cases, but might be easier to update it.
Comment #4
claudiu.cristea@Berdir,
Yeah, let's do that. However, I cannot keep that untouched as is hard to test. Added deprecation tests, updated title, IS, CR.
Comment #6
mile23Deprecated in 8.8.x now but LGTM otherwise.
Comment #7
naveenvalechaAddressed #6
Comment #8
andypostLooks ready
Comment #9
claudiu.cristeaThe CR branch should be updated too.
Comment #10
catchCommitted 8165415 and pushed to 8.8.x. Thanks!
Comment #12
naveenvalecha#9, Updated CR branch.
Comment #14
quietone commentedpublish the cr