function ViewsHooks::fieldConfigDelete
Implements hook_ENTITY_TYPE_delete() for 'field_config'.
File
-
core/
modules/ views/ src/ Hook/ ViewsHooks.php, line 284
Class
- ViewsHooks
- Hook implementations for views.
Namespace
Drupal\views\HookCode
public function fieldConfigDelete(EntityInterface $entity) {
Views::viewsData()->clear();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.