1.20.x system.admin.inc system_clear_cache_submit($form, &$form_state)

Submit callback; clear system caches.

Related topics

File

modules/system/system.admin.inc, line 1780
Admin page callbacks for the System module.

Code

function system_clear_cache_submit($form, &$form_state) {
  backdrop_flush_all_caches();
  backdrop_set_message(t('Caches cleared.'));
}