You are here

function views_field_config_update in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views/views.module \views_field_config_update()
  2. 9 core/modules/views/views.module \views_field_config_update()

Implements hook_ENTITY_TYPE_update() for 'field_config'.

File

core/modules/views/views.module, line 442
Primarily Drupal hooks and global API functions to manipulate views.

Code

function views_field_config_update(EntityInterface $entity) {
  Views::viewsData()
    ->clear();
}