You are here

function file_link_help in File Link 8

Same name and namespace in other branches
  1. 2.0.x file_link.module \file_link_help()

Implements hook_help().

File

./file_link.module, line 14
Contains file_link.module.

Code

function file_link_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {

    // Main module help for the featured_content module.
    case 'help.page.file_link':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('File Link module provides a field that extends the core Link module field by storing metadata about the target file like size and mime-type. The link URI must point to file not to a directory. The site builder can define a list of allowed target file extensions.') . '</p>';
      return $output;
    default:
  }
}