Full ELMS Learning Network documentation
function hook_views_invalidate_cache
×
Error message
User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).cis7 views.api.php | hook_views_invalidate_cache() |
cle7 views.api.php | hook_views_invalidate_cache() |
elmsmedia7 views.api.php | hook_views_invalidate_cache() |
icor7 views.api.php | hook_views_invalidate_cache() |
meedjum_blog7 views.api.php | hook_views_invalidate_cache() |
mooc7 views.api.php | hook_views_invalidate_cache() |
Allow modules to respond to the Views cache being invalidated.
This hook should fire whenever a view is enabled, disabled, created, updated, or deleted.
See also
Related topics
1 function implements hook_views_invalidate_cache()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- media_views_invalidate_cache in sites/
all/ modules/ ulmus/ media/ media.views.inc - Implements hook_views_invalidate_cache().
1 invocation of hook_views_invalidate_cache()
- views_invalidate_cache in sites/
all/ modules/ ulmus/ views/ views.module - Invalidate the views cache, forcing a rebuild on the next grab of table data.
File
- sites/
all/ modules/ ulmus/ views/ views.api.php, line 1096 - Describe hooks provided by the Views module.
Code
function hook_views_invalidate_cache() {
cache_clear_all('views:*', 'cache_mymodule', TRUE);
}