2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
@@ -35,8 +35,23 @@ function text_help($path, $arg) {
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;
$output.='<p>'.t('The Text module allows you to create short and long text fields with optional summaries. See the <a href="!field">Field module help</a> and the <a href="!field_ui">Field UI help</a> pages for general information on fields and how to create and manage them. For more information, see the <a href="!text_documentation">online documentation for the Text module</a>.',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')).'</p>';
$output.='<h3>'.t('Uses').'</h3>';
$output.='<dl>';
$output.='<dt>'.t('Managing and displaying text fields').'</dt>';
$output.='<dd>'.t('The <em>settings</em> and <em>display</em> of the text field can be configured separately. See the <a href="!field_ui">Field UI help</a> for more information on how to manage fields and their display.',array('!field_ui'=>\Drupal::url('help.page',array('name'=>'field_ui')))).'</dd>';
$output.='<dt>'.t('Creating short text fields').'</dt>';
$output.='<dd>'.t('If you choose <em>Text</em> as the field type on the <em>Manage fields</em> page, then a field with a single row is displayed. You can change the maximum text length in the <em>Field settings</em> when you set up the field.').'</dd>';
$output.='<dt>'.t('Creating long text fields').'</dt>';
$output.='<dd>'.t('If you choose <em>Long text</em> or <em>Long text and summary</em> on the <em>Manage fields</em> page, then users can insert text of unlimited length. On the <em>Manage form display</em> page, you can set the number of rows that are displayed to users.').'</dd>';
$output.='<dt>'.t('Trimming the text length').'</dt>';
$output.='<dd>'.t('On the <em>Manage display</em> page you can choose to display a trimmed version of the text, and if so, where to cut off the text.').'</dd>';
$output.='<dt>'.t('Displaying summaries instead of trimmed text').'</dt>';
$output.='<dd>'.t('As an alternative to using a trimmed version of the text, you can enter a separate summary by choosing the <em>Long text with summary</em> field type on the <em>Manage fields</em> page. Even when <em>Summary input</em> is enabled, and summaries are provided, you can display <em>trimmed</em> text nonetheless by choosing the appropriate format on the <em>Manage display</em> page.').'</dd>';
$output.='<dt>'.t('Using text formats and editors').'</dt>';
$output.='<dd>'.t('With the <em>Text processing</em> options you can restrict the input to <em>Plain text</em> only, or allow users to format text. Which options are available to individual users depends on the settings on the <a href="!formats">Text formats and editors page</a>. If formatted text is submitted, you can still display it without the formatting by choosing <em>Plain text</em> as the <em>Format</em> on the <em>Manage display</em> page.',array('!formats'=>\Drupal::url('filter.admin_overview'))).'</dd>';