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 see contrib (title.module) doing stuff like:
function title_entitycache_reset($ids, $entity_type) {
...
foreach ($ids as $id) {
...
}
}
which of course breaks if $ids = NULL, so I think we should document that hook better.
Comment | File | Size | Author |
---|---|---|---|
#1 | 1697686.patch | 1.04 KB | amateescu |
Comments
Comment #1
amateescu CreditAttribution: amateescu commentedThis should be enough :)
Comment #2
catchThanks. Committed/pushed to 7.x-1.x.