You are here

function environment_indicator_settings_submit in Environment Indicator 7.2

Submit callback for the environment_indicator_settings form.

1 string reference to 'environment_indicator_settings_submit'
environment_indicator_settings in ./environment_indicator.admin.inc
Module settings form.

File

./environment_indicator.admin.inc, line 49
Administrative interface for environment indicator configuration.

Code

function environment_indicator_settings_submit($form, $form_state) {
  if (module_exists('admin_menu')) {

    // Clear admin menu caches.
    admin_menu_flush_caches();
  }
  cache_clear_all('environment_indicator', 'cache');
}