You are here

public static function EntityInterface::postDelete in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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()
Entity::postDelete in core/lib/Drupal/Core/Entity/Entity.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 373
Contains \Drupal\Core\Entity\EntityInterface.

Class

EntityInterface
Defines a common interface for all entity objects.

Namespace

Drupal\Core\Entity

Code

public static function postDelete(EntityStorageInterface $storage, array $entities);