function file_entity_help in File Entity (fieldable files) 8.2
Same name and namespace in other branches
- 7.3 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 74 - Extends Drupal file entities to be fieldable and viewable.
Code
function file_entity_help($route_name, RouteMatchInterface $route_match) {
switch ($route_match) {
case 'entity.file_type.collection':
$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;
}
}