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.
File
- drupal/core/lib/Drupal/Core/Entity/EntityStorageControllerInterface.php, line 111
- Contains \Drupal\Core\Entity\EntityStorageControllerInterface.
Class
- EntityStorageControllerInterface
- Defines a common interface for entity controller classes.
Namespace
Drupal\Core\Entity
Code
public function delete(array $entities);