function download_file_settings_reset in DownloadFile 6
Same name and namespace in other branches
- 7.3 download_file.admin.inc \download_file_settings_reset()
- 7 download_file.admin.inc \download_file_settings_reset()
- 7.2 download_file.admin.inc \download_file_settings_reset()
Reset download_file_settings.
File
- ./
download_file.admin.inc, line 42 - Download file administration settings.
Code
function download_file_settings_reset($form, &$form_state) {
// Set variable for the accessible format.
variable_set('download_file_accessible_format', '(format !extension / !file_size)');
drupal_set_message(t('The configuration option has been reset to its default values.'));
}