function text_help

Same name in other branches
  1. 9 core/modules/text/text.module \text_help()
  2. 8.9.x core/modules/text/text.module \text_help()
  3. 10 core/modules/text/text.module \text_help()
  4. 11.x core/modules/text/text.module \text_help()

Implements hook_help().

File

modules/field/modules/text/text.module, line 11

Code

function text_help($path, $arg) {
    switch ($path) {
        case 'admin/help#text':
            $output = '';
            $output .= '<h3>' . t('About') . '</h3>';
            $output .= '<p>' . t("The Text module defines various text field types for the Field module. A text field may contain plain text only, or optionally, may use Drupal's <a href='@filter-help'>text filters</a> to securely manage HTML output. Text input fields may be either a single line (text field), multiple lines (text area), or for greater input control, a select box, checkbox, or radio buttons. If desired, the field can be validated, so that it is limited to a set of allowed values. See the <a href='@field-help'>Field module help page</a> for more information about fields.", array(
                '@field-help' => url('admin/help/field'),
                '@filter-help' => url('admin/help/filter'),
            )) . '</p>';
            return $output;
    }
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.