You are here

public static function ViewUI::preDelete in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::preDelete()
  2. 10 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::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.

Overrides EntityInterface::preDelete

File

core/modules/views_ui/src/ViewUI.php, line 1125

Class

ViewUI
Stores UI related temporary settings.

Namespace

Drupal\views_ui

Code

public static function preDelete(EntityStorageInterface $storage, array $entities) {
}