1 image.module image_system_file_system_settings_submit($form, &$form_state)

Submit handler for the file system settings form.

Adds a menu rebuild after the public file path has been changed, so that the menu router item depending on that file path will be regenerated.

File

core/modules/image/image.module, line 274
Exposes global functionality for creating image styles.

Code

function image_system_file_system_settings_submit($form, &$form_state) {
  if ($form['file_public_path']['#default_value'] !== $form_state['values']['file_public_path']) {
    state_set('menu_rebuild_needed', TRUE);
  }
}