function context_invalidate_cache in Context 6.3
Same name and namespace in other branches
- 6 context.module \context_invalidate_cache()
- 6.2 context.module \context_invalidate_cache()
- 7.3 context.module \context_invalidate_cache()
Invalidates all context caches(). @TODO: Update to use a CTools API function for clearing plugin caches when/if it becomes available.
5 calls to context_invalidate_cache()
- context_delete in ./
context.module - Deletes an existing context.
- context_export_ui::list_form in context_ui/
export_ui/ context_export_ui.class.php - Create the filter/sort form at the top of a list of exports.
- context_flush_caches in ./
context.module - Implementation of hook_flush_caches().
- context_form_alter in ./
context.core.inc - Implementation of hook_form_alter().
- context_save in ./
context.module - Inserts or updates a context object into the database. @TODO: should probably return the new cid on success -- make sure this doesn't break any checks elsewhere.
File
- ./
context.module, line 415
Code
function context_invalidate_cache() {
cache_clear_all('context', 'cache', TRUE);
cache_clear_all('plugins:context', 'cache', TRUE);
}