public function EntityStorageInterface::delete in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/EntityStorageInterface.php \Drupal\Core\Entity\EntityStorageInterface::delete()
Deletes permanently saved entities.
Parameters
array $entities: An array of entity objects to delete.
Throws
\Drupal\Core\Entity\EntityStorageException In case of failures, an exception is thrown.
1 method overrides EntityStorageInterface::delete()
- EntityStorageBase::delete in core/
lib/ Drupal/ Core/ Entity/ EntityStorageBase.php - Deletes permanently saved entities.
File
- core/
lib/ Drupal/ Core/ Entity/ EntityStorageInterface.php, line 140
Class
- EntityStorageInterface
- Defines the interface for entity storage classes.
Namespace
Drupal\Core\EntityCode
public function delete(array $entities);