@@ -13,7 +13,14 @@ function number_help($path, $arg) {
...
@@ -13,7 +13,14 @@ function number_help($path, $arg) {
case'admin/help#number':
case'admin/help#number':
$output='';
$output='';
$output.='<h3>'.t('About').'</h3>';
$output.='<h3>'.t('About').'</h3>';
$output.='<p>'.t('The Number module defines various numeric field types for the Field module. Numbers can be in integer, decimal, or floating-point form, and they can be formatted when displayed. Number fields can be limited to a specific set of input values or to a range of values. See the <a href="@field-help">Field module help page</a> for more information about fields.',array('@field-help'=>url('admin/help/field'))).'</p>';
$output.='<p>'.t('The Number module allows you to create fields that contain various types of numeric data. 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="!number_do">online documentation for the Number module</a>.',array('!field'=>\Drupal::url('help.page',array('name'=>'field')),'!field_ui'=>\Drupal::url('help.page',array('name'=>'field_ui')),'!number_do'=>'https://drupal.org/documentation/modules/number')).'</p>';
$output.='<h3>'.t('Uses').'</h3>';
$output.='<dl>';
$output.='<dt>'.t('Managing and displaying number fields').'</dt>';
$output.='<dd>'.t('The <em>settings</em> and the <em>display</em> of the number fields 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('Choosing number field type').'</dt>';
$output.='<dd>'.t('When you add a number field you can choose from three types: <em>decimal</em>, <em>float</em>, or <em>integer</em>. The <em>decimal</em> number field type allows users to enter exact decimal values. The <em>float</em> number field type allows users to enter approximate decimal values. The <em>integer</em> number field type allows users to enter whole numbers, such as years (for example, 2012) or values (for example, 1, 2, 5, 305). It does not allow decimals.').'</dd>';