function system_clear_cache_submit
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) { drupal_flush_all_caches(); drupal_set_message(t('Caches cleared.')); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!system!system.admin.inc/function/system_clear_cache_submit/7.x