Make entity delete hooks multiple

Created on 30 October 2012, almost 12 years ago
Updated 12 August 2024, about 2 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 5 hours ago

Created by

🇬🇧United Kingdom catch

Live updates comments and jobs are added and updated live.

Missing content requested by

🇦🇺Australia dpi
27 days ago
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024