function system_clear_cache_submit

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

Submit callback; clear system caches.

Related topics

1 string reference to 'system_clear_cache_submit'
system_performance_settings in drupal-7.x/modules/system/system.admin.inc
Form builder; Configure site performance settings.

File

drupal-7.x/modules/system/system.admin.inc, line 1766
Admin page callbacks for the system module.

Code

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