You are here

public static function EntityBase::postDelete in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::postDelete()
  2. 9 core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::postDelete()
7 calls to EntityBase::postDelete()
ConfigEntityBundleBase::postDelete in core/lib/Drupal/Core/Config/Entity/ConfigEntityBundleBase.php
Acts on deleted entities before the delete hook is invoked.
ConfigTest::postDelete in core/modules/config/tests/config_test/src/Entity/ConfigTest.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.
ImageStyle::postDelete in core/modules/image/src/Entity/ImageStyle.php
Acts on deleted entities before the delete hook is invoked.
RestResourceConfig::postDelete in core/modules/rest/src/Entity/RestResourceConfig.php
Acts on deleted entities before the delete hook is invoked.

... See full list

12 methods override EntityBase::postDelete()
BlockContent::postDelete in core/modules/block_content/src/Entity/BlockContent.php
Acts on deleted entities before the delete hook is invoked.
ConfigEntityBundleBase::postDelete in core/lib/Drupal/Core/Config/Entity/ConfigEntityBundleBase.php
Acts on deleted entities before the delete hook is invoked.
ConfigTest::postDelete in core/modules/config/tests/config_test/src/Entity/ConfigTest.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.
EntityTestBundleClass::postDelete in core/modules/system/tests/modules/entity_test_bundle_class/src/Entity/EntityTestBundleClass.php
Acts on deleted entities before the delete hook is invoked.

... See full list

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);
}