function text_help in Drupal 7
Same name and namespace in other branches
- 8 core/modules/text/text.module \text_help()
- 9 core/modules/text/text.module \text_help()
Implements hook_help().
File
- modules/
field/ modules/ text/ text.module, line 11 - Defines simple text field types.
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;
}
}