You are here

function file_entity_help in File Entity (fieldable files) 8.2

Same name and namespace in other branches
  1. 7.3 file_entity.module \file_entity_help()
  2. 7 file_entity.module \file_entity_help()
  3. 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;
  }
}