You are here

function textformatter_help in Text list formatter 8.2

Same name and namespace in other branches
  1. 7 textformatter.module \textformatter_help()

Implements hook_help().

File

./textformatter.module, line 14
Provide a field formatter to render values as HTML or comma-separated lists.

Code

function textformatter_help($path, $arg) {
  switch ($path) {
    case 'admin/help#textformatter':
      $output = '<p>' . t("The text formatter module provides a new display formatter that can\n        be used on any text, number, list, or taxonomy fields.") . '</p>';
      $output .= '<p>' . t("Go to 'Manage display' for your entity field display settings and\n        select 'List' as the formatter. Various options will then be available to either format\n        your field values as an html list or comma separated list.") . '</p>';
      $output .= '<p>' . t("This would be mostly implemented with multi value fields.\n        E.g. A text field could be created with unlimited values. Each value will then be added to\n        the same html list. Taxonomy terms will work with comma separated auto complete lists too,\n        to give the same result. The only exceptions are textarea field, lists can be created based\n        on each line of the input.") . '</p>';
      return $output;
  }
}