You are here

date_ap_style.module in AP Style Date 8

Same filename and directory in other branches
  1. 7 date_ap_style.module

Date Ap Style.

File

date_ap_style.module
View source
<?php

/**
 * @file
 * Date Ap Style.
 */
use Drupal\Core\Routing\RouteMatchInterface;

/**
 * Implements hook_help().
 */
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;
  }
}

Functions

Namesort descending Description
date_ap_style_help Implements hook_help().