function download_file_install in DownloadFile 7
Same name and namespace in other branches
- 6 download_file.install \download_file_install()
- 7.3 download_file.install \download_file_install()
- 7.2 download_file.install \download_file_install()
Implementation of hook_install().
File
- ./
download_file.install, line 6
Code
function download_file_install() {
// Add variable for the accessible format.
variable_set('download_file_accessible_format', '(format !extension / !file_size)');
// Display the link to configure the format of the link accessible.
drupal_set_message(t('Configure the format of the link accessible on the <a href="@setting">setting page</a>.', array(
'@setting' => url('admin/config/media/download-file'),
)));
}