You are here

function view_update in GraphQL 8

Same name and namespace in other branches
  1. 8.2 graphql.module \view_update()

Implements hook_ENTITY_TYPE_update().

File

./graphql.module, line 25

Code

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