You are here

font_field_icon.module in Font Field Icon 8

Contains icon_field.module.

File

font_field_icon.module
View source
<?php

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

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

    // Main module help for the icon_field module.
    case 'help.page.font_field_icon':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Provides an ability to add social or other fontawesome icon to text field') . '</p>';
      $output .= '<p>' . t('Please read Readme file or visit https://www.drupal.org/project/font_field_icon') . '</p>';
      return $output;
    default:
  }
}

Functions

Namesort descending Description
font_field_icon_help Implements hook_help().