Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ViewsHooks.php

function ViewsHooks::fieldConfigInsert

Implements hook_ENTITY_TYPE_insert() for 'field_config'.

File

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

Class

ViewsHooks
Hook implementations for views.

Namespace

Drupal\views\Hook

Code

public function fieldConfigInsert(EntityInterface $field) {
    Views::viewsData()->clear();
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal