public static function EntityInterface::postDelete in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/EntityInterface.php \Drupal\Core\Entity\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 318
Class
- EntityInterface
- Defines a common interface for all entity objects.
Namespace
Drupal\Core\EntityCode
public static function postDelete(EntityStorageInterface $storage, array $entities);