You are here

function system_clear_cache_submit in Drupal 7

Same name and namespace in other branches
  1. 6 modules/system/system.admin.inc \system_clear_cache_submit()

Submit callback; clear system caches.

Related topics

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

File

modules/system/system.admin.inc, line 1781
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.'));
}