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

Breadcrumb

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

function EntityBase::preDelete

Overrides EntityInterface::preDelete

12 calls to EntityBase::preDelete()
BlockContent::preDelete in core/modules/block_content/src/Entity/BlockContent.php
Acts on entities before they are deleted and before hooks are invoked.
BlockContent::preDelete in core/modules/block_content/src/Entity/BlockContent.php
Acts on entities before they are deleted and before hooks are invoked.
ConfigEntityBase::preDelete in core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php
Acts on entities before they are deleted and before hooks are invoked.
ConfigEntityBase::preDelete in core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php
Acts on entities before they are deleted and before hooks are invoked.
File::preDelete in core/modules/file/src/Entity/File.php
Acts on entities before they are deleted and before hooks are invoked.

... See full list

6 methods override EntityBase::preDelete()
BlockContent::preDelete in core/modules/block_content/src/Entity/BlockContent.php
Acts on entities before they are deleted and before hooks are invoked.
ConfigEntityBase::preDelete in core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php
Acts on entities before they are deleted and before hooks are invoked.
File::preDelete in core/modules/file/src/Entity/File.php
Acts on entities before they are deleted and before hooks are invoked.
MenuLinkContent::preDelete in core/modules/menu_link_content/src/Entity/MenuLinkContent.php
Acts on entities before they are deleted and before hooks are invoked.
Node::preDelete in core/modules/node/src/Entity/Node.php
Acts on entities before they are deleted and before hooks are invoked.

... See full list

File

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

Class

EntityBase
Defines a base entity class.

Namespace

Drupal\Core\Entity

Code

public static function preDelete(EntityStorageInterface $storage, array $entities) {
}

API Navigation

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