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\viewsCode
public function postSave(EntityInterface $entity, $update) {
parent::postSave($entity, $update);
// Clear caches.
views_invalidate_cache();
}