function EntityInterface::postDelete
Acts on deleted entities before the delete hook is invoked.
Used after the entities are deleted but before invoking the delete hook.
Parameters
\Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage object.
\Drupal\Core\Entity\EntityInterface[] $entities: An array of entities.
2 methods override EntityInterface::postDelete()
- EntityBase::postDelete in core/
lib/ Drupal/ Core/ Entity/ EntityBase.php - Acts on deleted entities before the delete hook is invoked.
- ViewUI::postDelete in core/
modules/ views_ui/ src/ ViewUI.php - Acts on deleted entities before the delete hook is invoked.
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityInterface.php, line 320
Class
- EntityInterface
- Defines a common interface for all entity objects.
Namespace
Drupal\Core\EntityCode
public static function postDelete(EntityStorageInterface $storage, array $entities);