You are here

function views_update_8003 in Drupal 8

Clear caches to fix entity operations field.

File

core/modules/views/views.install, line 311
Contains install and update functions for Views.

Code

function views_update_8003() {

  // Empty update to cause a cache flush so that views data is rebuilt. Entity
  // types that don't implement a list builder cannot have the entity operations
  // field.
  // Use hook_post_update_NAME() instead to clear the cache.The use
  // of hook_update_N to clear the cache has been deprecated see
  // https://www.drupal.org/node/2960601 for more details.
}