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.
element_children only returns keys to arrays. that's how fapi is. Adding cruft to protect against broken code was never good and now that I want to convert to ArrayObject it blocks progress (as expected).
Comment | File | Size | Author |
---|---|---|---|
#3 | cruft.patch | 3.66 KB | chx |
cruft.patch | 2.69 KB | chx | |
Comments
Comment #1
chx CreditAttribution: chx commentedOh this got added by the original fapi conversion! That's how it got there and that's how it sneaked in... the dark corners of core.
Comment #2
chx CreditAttribution: chx commentedgrepped around, only aggregator.pages.inc has more of the same.
Comment #3
chx CreditAttribution: chx commentedAnd the patch to remove that.
Comment #4
Damien Tournoud CreditAttribution: Damien Tournoud commentedIt's never bad to remove some old cruft.
Makes total sense, let's do that.
Comment #5
Dries CreditAttribution: Dries commentedCommitted to CVS HEAD. Thanks.