By vidorado on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
11.2.x
Introduced in version:
11.2.0
Issue links:
Description:
The protected method deleteFromDedicatedTables in SqlContentEntityStorage class accepts an array of entity ID. Previously, the parameter was a single entity.
This allows deleting several entities with a single SQL statement, which is more performant than a statement per entity.
If a custom entity storage handler is overriding or calling this method, it will need to be updated to work with the parameter change.
Before:
protected function deleteFromDedicatedTables(ContentEntityInterface $entity)
After:
protected function deleteFromDedicatedTables(array $ids)
Impacts:
Module developers