You are here

function galleria_form_settings_submit_clearcache in Galleria 7

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

1 string reference to 'galleria_form_settings_submit_clearcache'
galleria_form_settings in includes/galleria.admin.inc
Form builder; Form for advanced module settings.

File

includes/galleria.admin.inc, line 979
Administrative page callbacks for the galleria module.

Code

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