You are here

micon_link.module in Micon 8

Same filename and directory in other branches
  1. 2.x micon_link/micon_link.module

Contains micon_link.module.

File

micon_link/micon_link.module
View source
<?php

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

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

    // Main module help for the micon_link module.
    case 'help.page.micon_link':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('The Micon link module provides a widget that allows users to add icons to link fields.') . '</p>';
      return $output;
    default:
  }
}

Functions

Namesort descending Description
micon_link_help Implements hook_help().