You are here

existing_values_autocomplete_widget.module in Existing Values Autocomplete Widget 8

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

File

existing_values_autocomplete_widget.module
View source
<?php

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

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

    // Main module help for the existing_values_autocomplete_widget module.
    case 'help.page.existing_values_autocomplete_widget':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('Provides a widget for text fields that supplies an autocomplete callback with any previously entered (existing) values for the field.') . '</p>';
      return $output;
    default:
  }
}

Functions