Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. EntityBase.php

function EntityBase::postDelete

Overrides EntityInterface::postDelete

26 calls to EntityBase::postDelete()
BlockContent::postDelete in core/modules/block_content/src/Entity/BlockContent.php
Acts on deleted entities before the delete hook is invoked.
BlockContent::postDelete in core/modules/block_content/src/Entity/BlockContent.php
Acts on deleted entities before the delete hook is invoked.
Comment::postDelete in core/modules/comment/src/Entity/Comment.php
Acts on deleted entities before the delete hook is invoked.
Comment::postDelete in core/modules/comment/src/Entity/Comment.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.

... See full list

15 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.
Comment::postDelete in core/modules/comment/src/Entity/Comment.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.
ConfigurableLanguage::postDelete in core/modules/language/src/Entity/ConfigurableLanguage.php
Acts on deleted entities before the delete hook is invoked.
FieldConfigBase::postDelete in core/lib/Drupal/Core/Field/FieldConfigBase.php
Acts on deleted entities before the delete hook is invoked.

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal