public static function ViewUI::preDelete in Drupal 9
Same name and namespace in other branches
- 8 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 1108
Class
- ViewUI
- Stores UI related temporary settings.
Namespace
Drupal\views_uiCode
public static function preDelete(EntityStorageInterface $storage, array $entities) {
}