function sweaver_clear_cache in Sweaver 7
Same name and namespace in other branches
- 6 sweaver.module \sweaver_clear_cache()
Clear cache and page requisites.
4 calls to sweaver_clear_cache()
- sweaver_drush_edit_style in drush/
sweaver.drush.inc - Edit a style.
- sweaver_plugin_styles::sweaver_form_submit in plugins/
sweaver_plugin_styles/ sweaver_plugin_styles.inc - Frontend form submit.
- sweaver_plugin_styles::sweaver_style_confirm_form_delete_submit in plugins/
sweaver_plugin_styles/ sweaver_plugin_styles.inc - Submit callback, delete style.
- sweaver_plugin_styles::sweaver_style_set_to_default in plugins/
sweaver_plugin_styles/ sweaver_plugin_styles.inc - Menu callback, set to default a style.
File
- ./
sweaver.module, line 660 - Sweaver functions.
Code
function sweaver_clear_cache() {
cache_clear_all();
drupal_clear_css_cache();
sweaver_rebuild_containers();
}