You are here

function existing_values_autocomplete_widget_help in Existing Values Autocomplete Widget 8

Same name and namespace in other branches
  1. 2.x existing_values_autocomplete_widget.module \existing_values_autocomplete_widget_help()

Implements hook_help().

File

./existing_values_autocomplete_widget.module, line 13
Contains existing_values_autocomplete_widget.module.

Code

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:
  }
}