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.
Files that need converting are:
- core/modules/menu/menu.module
Comment | File | Size | Author |
---|---|---|---|
#1 | 1999398_1-replace-raw-variables-menu.patch | 615 bytes | chertzog |
Comments
Comment #1
chertzogComment #2
kim.pepperLooks good. RTBC from me.
Comment #3
Crell CreditAttribution: Crell commentedComment #4
Crell CreditAttribution: Crell commentedTagging.
Comment #5
alexpottCommitted b90377b and pushed to 8.x. Thanks!
Comment #6
tim.plunkettFor future reference, PHP's count() function is only useful if you want to know the specific number of items of a thing you know is countable.
Because if you call count(NULL), it will return 1. Yes. I'm serious, it's awful.
This whole thing was already fixed in #1984702: Convert menu.module's page callbacks to Controllers, I'll just reroll that.