You are here

function media_pdf_thumbnail_help in Media PDF Thumbnail 8.4

Same name and namespace in other branches
  1. 8 media_pdf_thumbnail.module \media_pdf_thumbnail_help()
  2. 8.2 media_pdf_thumbnail.module \media_pdf_thumbnail_help()
  3. 8.3 media_pdf_thumbnail.module \media_pdf_thumbnail_help()

Implements hook_help().

File

./media_pdf_thumbnail.module, line 18
Contains media_pdf_thumbnail.module.

Code

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

    // Main module help for the adimeo_pdf_thumbnail module.
    case 'help.page.media_pdf_thumbnail':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Generate a thumbnail image from a pdf file in media entity') . '</p>';
      return $output;
    default:
  }
}