function ViewUI::postDelete

Same name and namespace in other branches
  1. 8.9.x core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::postDelete()
  2. 10 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::postDelete()
  3. 11.x core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::postDelete()

Acts on deleted entities before the delete hook is invoked.

Used after the entities are deleted but 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::postDelete

File

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

Class

ViewUI
Stores UI related temporary settings.

Namespace

Drupal\views_ui

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.