You are here

function imagefield_tokens_help in ImageField Tokens 8

Same name and namespace in other branches
  1. 8.2 imagefield_tokens.module \imagefield_tokens_help()
  2. 7 imagefield_tokens.module \imagefield_tokens_help()

Implements hook_help().

File

./imagefield_tokens.module, line 13
Contains functions related to the module functionality and Drupal hooks.

Code

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

    // Main module help for the image_field_tokens module.
    case 'help.page.image_field_tokens':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('The ImageField Tokens module extends
      the default functionality of Image Widget and Formatter and adding
      the ability to specify default values and use content entity tokens
      in the Alt and Title text.') . '</p>';
      return $output;
    default:
  }
}