You are here

function media_thumbnails_help in Media Thumbnails 8

Implements hook_help().

File

./media_thumbnails.module, line 14
Plugin manager for media entity thumbnail generation.

Code

function media_thumbnails_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.media_thumbnails':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('The Media Thumbnails module provides a plugin manager for thumbnail generation.') . '</p>';
      $output .= '<p>' . t('You need to install and enable at least one media thumbnail plugin.') . '</p>';
      return $output;
  }
}