You are here

function views_base_field_override_insert in Drupal 9

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

Implements hook_ENTITY_TYPE_insert().

File

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

Code

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