You are here

function flexslider_form_settings_submit_clearcache in Flex Slider 7

Submit handler for the advanced module settings form button 'Clear cache'.

File

./flexslider.admin.inc, line 454
Administrative page callbacks for the flexslider module.

Code

function flexslider_form_settings_submit_clearcache($form, &$form_state) {
  cache_clear_all('flexslider_', 'cache', TRUE);
  drupal_set_message(t('Cache cleared.'));
}