You are here

function admin_menu_form_system_clean_url_settings_alter in Administration menu 6.3

Same name and namespace in other branches
  1. 5.3 admin_menu.inc \admin_menu_form_system_clean_url_settings_alter()

Implements hook_form_FORM_ID_alter().

Form submit handler to flush client-side cache hashes when clean URLs are toggled.

File

./admin_menu.module, line 766
Render an administrative menu as a dropdown menu at the top of the window.

Code

function admin_menu_form_system_clean_url_settings_alter(&$form, $form_state) {
  $form['#submit'][] = 'admin_menu_flush_caches';
}