diff --git a/core/modules/text/text.module b/core/modules/text/text.module index 297e60e..5cf285f 100644 --- a/core/modules/text/text.module +++ b/core/modules/text/text.module @@ -35,8 +35,23 @@ function text_help($path, $arg) { case 'admin/help#text': $output = ''; $output .= '

' . t('About') . '

'; - $output .= '

' . 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 text filters 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 Field module help page for more information about fields.", array('@field-help' => url('admin/help/field'), '@filter-help' => url('admin/help/filter'))) . '

'; - return $output; + $output .= '

' . t('The Text module allows you to create short and long text fields with optional summaries. See the Field module help and the Field UI help pages for general information on fields and how to create and manage them. For more information, see the online documentation for the Text module.', array('!field' => \Drupal::url('help.page', array('name' => 'field')), '!field_ui' => \Drupal::url('help.page', array('name' => 'field_ui')), '!text_documentation' => 'https://drupal.org/documentation/modules/text')) . '

'; + $output .= '

' . t('Uses') . '

'; + $output .= '
'; + $output .= '
' . t('Managing and displaying text fields') . '
'; + $output .= '
' . t('The settings and display of the text field can be configured separately. See the Field UI help for more information on how to manage fields and their display.', array('!field_ui' => \Drupal::url('help.page', array('name' => 'field_ui')))) . '
'; + $output .= '
' . t('Creating short text fields') . '
'; + $output .= '
' . t('If you choose Text as the field type on the Manage fields page, then a field with a single row is displayed. You can change the maximum text length in the Field settings when you set up the field.') . '
'; + $output .= '
' . t('Creating long text fields') . '
'; + $output .= '
' . t('If you choose Long text or Long text and summary on the Manage fields page, then users can insert text of unlimited length. On the Manage Form Display page, you can set the number of rows that are displayed to users.') . '
'; + $output .= '
' . t('Trimming the text length') . '
'; + $output .= '
' . t('On the Manage Display page you can choose to display a trimmed version of the text, and if so, where to cut off the text.') . '
'; + $output .= '
' . t('Displaying summaries instead of trimmed text') . '
'; + $output .= '
' . t('As an alternative to using a trimmed version of the text, you can enter a separate summary by choosing the Long text with summary format on the Manage Fields page. Even when Summary input is enabled, and summaries are provided, you can display trimmed text nonetheless by choosing the appropriate format on the Manage Display page.') . '
'; + $output .= '
' . t('Using text formats and editors') . '
'; + $output .= '
' . t('With the Text processing options you can restrict the input to Plain text only, or allow users to format text. Which options are available to individual users depends on the settings on the Text formats and editors page. If formatted text is submitted, you can still display it without the formatting by choosing Plain text as the Format on the Manage Display page.', array('!formats' => \Drupal::url('filter.admin_overview'))) . '
'; + $output .= '
'; + return $output; } }