public static function EntityInterface::postDelete in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/EntityInterface.php \Drupal\Core\Entity\EntityInterface::postDelete()
- 9 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.
1 method overrides EntityInterface::postDelete()
- 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);