You are here

function view_insert in GraphQL 8.2

Same name and namespace in other branches
  1. 8 graphql.module \view_insert()

Implements hook_ENTITY_TYPE_insert().

File

./graphql.module, line 18

Code

function view_insert() {
  \Drupal::service('cache.graphql')
    ->deleteAll();
}