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.
I can't depend on Core classes.
Rewrite DefaultMenuLinkTreeManipulators into AnonymousMenuLinkTreeManipulator instead of simply extending it.
Comment | File | Size | Author |
---|---|---|---|
#2 | footermap-2853964-fix-core-bc-break-2.patch | 10.33 KB | mradcliffe |
|
Comments
Comment #2
mradcliffeThis adds the code in DefaultMenuLinkTreeManipulator prior to the backwards-incompatible change in #2389335: Deprecate entity.query service and replace with using the entity storage's getQuery() method.
Comment #4
mradcliffeAfter thinking about it. I'm going to commit my approach because I can and should no longer rely on core to provide a stable API.