You are here

public static function EntityBase::preDelete in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::preDelete()
  2. 9 core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::preDelete()
5 methods override EntityBase::preDelete()
ConfigEntityBase::preDelete in core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php
Acts on entities before they are deleted and before hooks are invoked.
EntityTestBundleClass::preDelete in core/modules/system/tests/modules/entity_test_bundle_class/src/Entity/EntityTestBundleClass.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.
Workspace::preDelete in core/modules/workspaces/src/Entity/Workspace.php
Acts on entities before they are deleted and before hooks are invoked.

File

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

Class

EntityBase
Defines a base entity class.

Namespace

Drupal\Core\Entity

Code

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