You are here

phone_link.module in Phone link 8

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

Contains phone_link.module..

File

phone_link.module
View source
<?php

/**
 * @file
 * Contains phone_link.module..
 */
use Drupal\Core\Routing\RouteMatchInterface;

/**
 * Implements hook_help().
 */
function phone_link_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {

    // Main module help for the phone_link module.
    case 'help.page.phone_link':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Provide formatter for text fields which replace phone number with link.') . '</p>';
      return $output;
    default:
  }
}

Functions

Namesort descending Description
phone_link_help Implements hook_help().