Allow modules to respond to the invalidation of the Views cache.
This hook will fire whenever a view is enabled, disabled, created, updated, or deleted.
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
function hook_views_invalidate_cache() {
cache('mymodule')
->invalidateTags(array(
'views' => TRUE,
));
}