function EntityBase::preDelete
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::preDelete()
- 8.9.x core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::preDelete()
- 10 core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::preDelete()
Overrides EntityInterface::preDelete
7 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.
- 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.
7 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.
- 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.
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityBase.php, line 425
Class
- EntityBase
- Defines a base entity class.
Namespace
Drupal\Core\EntityCode
public static function preDelete(EntityStorageInterface $storage, array $entities) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.