Clear certain caches on form submit.
9 calls to advagg_cache_clear_admin_submit()
- advagg_admin_settings_form_submit dans ./
advagg.admin.inc - Clear out the advagg cache bin when the save configuration button is pressed.
- advagg_bundler_admin_settings_form_submit dans advagg_bundler/
advagg_bundler.admin.inc - Submit callback, clear out the advagg cache bin.
- advagg_critical_css_admin_settings_form_submit dans advagg_critical_css/
advagg_critical_css.admin.inc - Submit callback, process the advagg_critical_css form.
- advagg_css_compress_admin_settings_form_submit dans advagg_css_compress/
advagg_css_compress.admin.inc - Submit callback that clears out the advagg cache bin.
- advagg_font_admin_settings_form_submit dans advagg_font/
advagg_font.admin.inc - Submit callback, clear out the advagg cache bin.
Fichier
-
./
advagg.module, line 5514
Code
function advagg_cache_clear_admin_submit() {
$cache_bins = advagg_flush_caches();
foreach ($cache_bins as $bin) {
cache_clear_all('*', $bin, TRUE);
}
cache_clear_all('hook_info', 'cache_bootstrap');
cache_clear_all('advagg_hooks_implemented:', 'cache_bootstrap', TRUE);
}