function file_entity_help in File Entity (fieldable files) 7.3
Same name and namespace in other branches
- 8.2 file_entity.module \file_entity_help()
- 7 file_entity.module \file_entity_help()
- 7.2 file_entity.module \file_entity_help()
Implements hook_help().
File
- ./
file_entity.module, line 103 - Extends Drupal file entities to be fieldable and viewable.
Code
function file_entity_help($path, $arg) {
switch ($path) {
case 'admin/structure/file-types':
$output = '<p>' . t('When a file is uploaded to this website, it is assigned one of the following types, based on what kind of file it is.') . '</p>';
return $output;
case 'admin/structure/file-types/manage/%/display/preview':
case 'admin/structure/file-types/manage/%/file-display/preview':
drupal_set_message(t('Some modules rely on the Preview view mode to function correctly. Changing these settings may break parts of your site.'), 'warning');
break;
}
}