You are here

function date_ap_style_help in AP Style Date 8

Same name and namespace in other branches
  1. 7 date_ap_style.module \date_ap_style_help()

Implements hook_help().

File

./date_ap_style.module, line 13
Date Ap Style.

Code

function date_ap_style_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.date_ap_style':
      $output = '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('This module outputs date fields in AP Style and aims to meet most of these requirements.') . '</p>';
      $output .= '<h3>' . t('More Information') . '</h3>';
      $output .= '<p>' . t('For more information, please visite the <a href="@link">module page</a>.', [
        '@link' => 'https://www.drupal.org/project/date_ap_style',
      ]) . '</p>';
      return $output;
  }
}