Make entity delete hooks multiple

Created on 30 October 2012, about 12 years ago
Updated 12 August 2024, 4 months ago

At some point in the Drupal 7 cycle, quite late iirc, we added node_delete_multiple(), however it was sufficiently late that the hook_node_delete() still gets a single node and acts on that - same for other entity hooks. We should finish the job and make the hook_entity_delete() multiple - pass an array of entities, do a single query when deleting from the database where possible.

📌 Task
Status

Closed: outdated

Version

11.0 🔥

Component
Entity 

Last updated about 1 hour ago

Created by

🇬🇧United Kingdom catch

Live updates comments and jobs are added and updated live.

Missing content requested by

🇦🇺Australia dpi
3 months ago
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024