function views_field_config_insert in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views/views.module \views_field_config_insert()
- 9 core/modules/views/views.module \views_field_config_insert()
Implements hook_ENTITY_TYPE_insert() for 'field_config'.
File
- core/
modules/ views/ views.module, line 435 - Primarily Drupal hooks and global API functions to manipulate views.
Code
function views_field_config_insert(EntityInterface $field) {
Views::viewsData()
->clear();
}