function download_file_settings_submit in DownloadFile 6
Same name and namespace in other branches
- 7.3 download_file.admin.inc \download_file_settings_submit()
- 7 download_file.admin.inc \download_file_settings_submit()
- 7.2 download_file.admin.inc \download_file_settings_submit()
Submit download_file_settings.
File
- ./
download_file.admin.inc, line 52 - Download file administration settings.
Code
function download_file_settings_submit($form, &$form_state) {
$format = check_plain(strip_tags($form_state['values']['download_file_accessible_format']));
// Set variable for the accessible format.
variable_set('download_file_accessible_format', $format);
drupal_set_message(t('The configuration option has been saved.'));
}