You are here

function webp_help in WebP 8

Implements hook_help().

File

./webp.module, line 13
Contains webp.module.

Code

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

    // Main module help for the webp module.
    case 'help.page.webp':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Generates WebP copies of image style derivatives.') . '</p>';
      return $output;
    default:
  }
}