You are here

public function ConfigEntityStorageDecorator::delete in Devel 4.x

Same name and namespace in other branches
  1. 8.3 webprofiler/src/Entity/Decorators/Config/ConfigEntityStorageDecorator.php \Drupal\webprofiler\Entity\Decorators\Config\ConfigEntityStorageDecorator::delete()
  2. 8 webprofiler/src/Entity/Decorators/Config/ConfigEntityStorageDecorator.php \Drupal\webprofiler\Entity\Decorators\Config\ConfigEntityStorageDecorator::delete()
  3. 8.2 webprofiler/src/Entity/Decorators/Config/ConfigEntityStorageDecorator.php \Drupal\webprofiler\Entity\Decorators\Config\ConfigEntityStorageDecorator::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.

Overrides EntityStorageInterface::delete

File

webprofiler/src/Entity/Decorators/Config/ConfigEntityStorageDecorator.php, line 100

Class

ConfigEntityStorageDecorator
Class ConfigEntityStorageDecorator.

Namespace

Drupal\webprofiler\Entity\Decorators\Config

Code

public function delete(array $entities) {
  $this
    ->getOriginalObject()
    ->delete($entities);
}