protected function ViewStorageController::postSave

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

Overrides ConfigStorageController::postSave

File

drupal/core/modules/views/lib/Drupal/views/ViewStorageController.php, line 47
Definition of Drupal\views\ViewStorageController.

Class

ViewStorageController
Defines the storage controller class for View entities.

Namespace

Drupal\views

Code

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

  // Clear caches.
  views_invalidate_cache();
}