You are here

function context_invalidate_cache in Context 7.3

Same name and namespace in other branches
  1. 6.3 context.module \context_invalidate_cache()
  2. 6 context.module \context_invalidate_cache()
  3. 6.2 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.

6 calls to context_invalidate_cache()
context_delete in ./context.module
Deletes an existing context.
context_export_ui::edit_form_submit in context_ui/export_ui/context_export_ui.class.php
Override of edit_form_submit(). Don't copy values from $form_state['values'].
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_system_modules_form_alter in ./context.core.inc
Implementation of hook_form_alter() for system_modules_form.

... See full list

File

./context.module, line 498

Code

function context_invalidate_cache() {
  cache_clear_all('context', 'cache', TRUE);
  cache_clear_all('plugins:context', 'cache', TRUE);
}