function download_file_settings in DownloadFile 6
Same name and namespace in other branches
- 7.3 download_file.admin.inc \download_file_settings()
- 7 download_file.admin.inc \download_file_settings()
- 7.2 download_file.admin.inc \download_file_settings()
Configure the format of the link accessible.
See also
1 string reference to 'download_file_settings'
- download_file_menu in ./
download_file.module - Implementation of hook_menu().
File
- ./
download_file.admin.inc, line 13 - Download file administration settings.
Code
function download_file_settings() {
$form['download_file_accessible_format'] = array(
'#type' => 'textfield',
'#title' => t('Format (without HTML)'),
'#default_value' => variable_get('download_file_accessible_format', '(format !extension / !file_size)'),
'#description' => t('Customize the format of the link accessible. Required variables are: <em>!extension</em> and <em>!file_size</em>.'),
'#required' => TRUE,
);
return system_settings_form($form);
}