function ViewsHooks::baseFieldOverrideInsert

Implements hook_ENTITY_TYPE_insert().

File

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

Class

ViewsHooks
Hook implementations for views.

Namespace

Drupal\views\Hook

Code

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

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