function context_invalidate_cache

cis7 context.module context_invalidate_cache()
cle7 context.module context_invalidate_cache()
elmsmedia7 context.module context_invalidate_cache()
icor7 context.module context_invalidate_cache()
meedjum_blog7 context.module context_invalidate_cache()
mooc7 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.

9 calls to context_invalidate_cache()
boxes_box::delete in sites/all/modules/ulmus/boxes/plugins/boxes_box.inc
Delete a box.
boxes_box::save in sites/all/modules/ulmus/boxes/plugins/boxes_box.inc
Save a box.
context_delete in sites/all/modules/ulmus/context/context.module
Deletes an existing context.
context_export_ui::edit_form_submit in sites/all/modules/ulmus/context/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 sites/all/modules/ulmus/context/context_ui/export_ui/context_export_ui.class.php
Create the filter/sort form at the top of a list of exports.

... See full list

File

sites/all/modules/ulmus/context/context.module, line 443

Code

function context_invalidate_cache() {
  cache_clear_all('context', 'cache', TRUE);
  cache_clear_all('plugins:context', 'cache', TRUE);
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.