You are here

function imageapi_optimize_webp_responsive_help in ImageAPI Optimize WebP 8

Same name and namespace in other branches
  1. 2.x modules/imageapi_optimize_webp_responsive/imageapi_optimize_webp_responsive.module \imageapi_optimize_webp_responsive_help()

Implements hook_help().

File

modules/imageapi_optimize_webp_responsive/imageapi_optimize_webp_responsive.module, line 10

Code

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

    // Main module help for the imageapi_optimize_webp_responsive module.
    case 'help.page.imageapi_optimize_webp_responsive':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Implements WebP derivatives in core Responsive Images') . '</p>';
      return $output;
    default:
  }
}