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