You are here

public function ViewStorageController::postSave in Views (for Drupal 7) 8.3

Overrides Drupal\config\ConfigStorageController::postSave().

File

lib/Drupal/views/ViewStorageController.php, line 63
Definition of Drupal\views\ViewStorageController.

Class

ViewStorageController
Defines the storage controller class for ViewStorage entities.

Namespace

Drupal\views

Code

public function postSave(EntityInterface $entity, $update) {
  parent::postSave($entity, $update);

  // Clear caches.
  views_invalidate_cache();
}