function EntityBase::postDelete

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::postDelete()
  2. 8.9.x core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::postDelete()
  3. 11.x core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::postDelete()

Overrides EntityInterface::postDelete

15 calls to EntityBase::postDelete()
BlockContent::postDelete in core/modules/block_content/src/Entity/BlockContent.php
Comment::postDelete in core/modules/comment/src/Entity/Comment.php
ConfigEntityBundleBase::postDelete in core/lib/Drupal/Core/Config/Entity/ConfigEntityBundleBase.php
ConfigTest::postDelete in core/modules/config/tests/config_test/src/Entity/ConfigTest.php
ConfigurableLanguage::postDelete in core/modules/language/src/Entity/ConfigurableLanguage.php

... See full list

17 methods override EntityBase::postDelete()
BlockContent::postDelete in core/modules/block_content/src/Entity/BlockContent.php
Comment::postDelete in core/modules/comment/src/Entity/Comment.php
ConfigEntityBundleBase::postDelete in core/lib/Drupal/Core/Config/Entity/ConfigEntityBundleBase.php
ConfigTest::postDelete in core/modules/config/tests/config_test/src/Entity/ConfigTest.php
ConfigurableLanguage::postDelete in core/modules/language/src/Entity/ConfigurableLanguage.php

... See full list

File

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

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.