You are here

jquery_minicolors.module in jQuery minicolors 8

File

jquery_minicolors.module
View source
<?php

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

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

    // Main module help for the jquery_minicolors module.
    case 'help.page.jquery_minicolors':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Provide a text field widget for using jQuery
      MiniColors library. You can use the jQuery minicolors widget with any
       Text (plain) field type') . '</p>';
      return $output;
    default:
  }
}

Functions

Namesort descending Description
jquery_minicolors_help Implements hook_help().