You are here

function widgets_clear_widgets_cache in Widgets 7

Parameters

$cid:

bool $wildcard:

2 calls to widgets_clear_widgets_cache()
widgets_set_form_add_submit in ./widgets.admin.inc
Submit handler for adding a new widget element to an widget set.
widgets_set_form_submit in ./widgets.admin.inc
Submit handler for saving an widget set.

File

./widgets.module, line 302
Exposes global functionality for creating widget sets.

Code

function widgets_clear_widgets_cache($cid, $wildcard = FALSE) {
  if ($cid) {
    cache_clear_all($cid, 'cache_widgets', $wildcard);
  }
}