public static function EntityInterface::preDelete in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Entity/EntityInterface.php \Drupal\Core\Entity\EntityInterface::preDelete()
Acts on entities before they are deleted and before hooks are invoked.
Used before the entities are deleted and before invoking the delete hook.
Parameters
\Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage object.
\Drupal\Core\Entity\EntityInterface[] $entities: An array of entities.
2 methods override EntityInterface::preDelete()
- Entity::preDelete in core/
lib/ Drupal/ Core/ Entity/ Entity.php - Acts on entities before they are deleted and before hooks are invoked.
- ViewUI::preDelete in core/
modules/ views_ui/ src/ ViewUI.php - Acts on entities before they are deleted and before hooks are invoked.
File
- core/
lib/ Drupal/ Core/ Entity/ EntityInterface.php, line 361 - Contains \Drupal\Core\Entity\EntityInterface.
Class
- EntityInterface
- Defines a common interface for all entity objects.
Namespace
Drupal\Core\EntityCode
public static function preDelete(EntityStorageInterface $storage, array $entities);