function ViewsHooks::fieldConfigUpdate

Implements hook_ENTITY_TYPE_update() for 'field_config'.

File

core/modules/views/src/Hook/ViewsHooks.php, line 276

Class

ViewsHooks
Hook implementations for views.

Namespace

Drupal\views\Hook

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.