Acts on entities before they are deleted.
Used before the entities are deleted and before invoking the delete hook.
File
- drupal/core/lib/Drupal/Core/Entity/DatabaseStorageController.php, line 607
- Definition of Drupal\Core\Entity\DatabaseStorageController.
Class
- DatabaseStorageController
- Defines a base entity controller class.
Namespace
Drupal\Core\Entity
Code
protected function preDelete($entities) {
}