function EntityBase::postDelete

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::postDelete()
  2. 10 core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::postDelete()
  3. 8.9.x core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::postDelete()
4 methods override EntityBase::postDelete()
Comment::postDelete in core/modules/comment/src/Entity/Comment.php
Acts on deleted entities before the delete hook is invoked.
ConfigurableLanguage::postDelete in core/modules/language/src/Entity/ConfigurableLanguage.php
Acts on deleted entities before the delete hook is invoked.
FieldConfig::postDelete in core/modules/field/src/Entity/FieldConfig.php
Acts on deleted entities before the delete hook is invoked.
FieldStorageConfig::postDelete in core/modules/field/src/Entity/FieldStorageConfig.php
Acts on deleted entities before the delete hook is invoked.

File

core/lib/Drupal/Core/Entity/EntityBase.php, line 416

Class

EntityBase
Defines a base entity class.

Namespace

Drupal\Core\Entity

Code

public static function postDelete(EntityStorageInterface $storage, array $entities) {
  static::invalidateTagsOnDelete($storage->getEntityType(), $entities);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.