function views_base_field_override_delete in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views/views.module \views_base_field_override_delete()
- 9 core/modules/views/views.module \views_base_field_override_delete()
Implements hook_ENTITY_TYPE_delete().
File
- core/
modules/ views/ views.module, line 470 - Primarily Drupal hooks and global API functions to manipulate views.
Code
function views_base_field_override_delete(EntityInterface $entity) {
Views::viewsData()
->clear();
}