You are here

function jsonapi_image_styles_help in JSON:API Image Styles 8

Same name and namespace in other branches
  1. 3.0.x jsonapi_image_styles.module \jsonapi_image_styles_help()
  2. 2.0.x jsonapi_image_styles.module \jsonapi_image_styles_help()

Implements hook_help().

File

./jsonapi_image_styles.module, line 16
Contains jsonapi_image_styles.module.

Code

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

    // Main module help for the jsonapi_image_styles module.
    case 'help.page.jsonapi_image_styles':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Expose image styles to JSON:API') . '</p>';
      return $output;
    default:
  }
}