diff --git a/modules/field/field.module b/modules/field/field.module index 1700a4d9cbab2d9e6db3a31d2266192a96022cd4..ccbbdf07a1060f2799ff5e3d19700293b613fc64 100644 --- a/modules/field/field.module +++ b/modules/field/field.module @@ -57,7 +57,7 @@ * pluggable back-end storage system for actual field data. The * default implementation, field_sql_storage.module, stores field data * in the local SQL database. - + * * - @link field_purge Field API bulk data deletion @endlink. Cleans * up after bulk deletion operations such as field_delete_field() * and field_delete_instance(). @@ -148,7 +148,27 @@ function field_flush_caches() { function field_help($path, $arg) { switch ($path) { case 'admin/help#field': - $output = '

' . t('The Field API allows custom data fields to be attached to Drupal objects and takes care of storing, loading, editing, and rendering field data. Any object type (node, user, etc.) can use the Field API to make itself "fieldable" and thus allow fields to be attached to it.') . '

'; + $output = ''; + $output .= '

' . t('About') . '

'; + $output .= '

' . t('The Field module allows custom data fields to be attached to Drupal objects (content nodes, users, taxonomy vocabularies, etc.) and takes care of storing, loading, editing, and rendering field data. Most users will not interact with the Field module directly, but will instead use the Field UI module user interface. Module developers can use the Field API to make new objects "fieldable" and thus allow fields to be attached to their objects. For more information, see the online handbook entry for Field module.', array('@field-ui-help' => url('admin/help/field_ui'), '@field' => 'http://drupal.org/handbook/modules/field')) . '

'; + $output .= '

' . t('Uses') . '

'; + $output .= '
'; + $output .= '
' . t('Enabling field types') . '
'; + $output .= '
' . t('The Field module provides the infrastructure for fields and field attachment, but the field types themselves are provided by additional modules. Some of the modules are required; the optional modules can be enabled from the Modules administration page. Drupal core includes the following field type modules:', array('@modules' => url('admin/config/modules'))); + $output .= '
'; + $output .= '
' . t('Number (required)') . '
'; + $output .= '
' . t('Fields for storing numbers, in integer, decimal or floating point form. You may define a set of allowed inputs, or specify an allowable range of values. Several common formats for displaying numeric data are available.') . '
'; + $output .= '
' . t('Text (required)') . '
'; + $output .= '
' . t( "Fields for storing text. A text field may contain plain text only, or optionally, may use Drupal's input format 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.") . '
'; + $output .= '
' . t('List (required)') . '
'; + $output .= '
' . t('Fields for storing a list of items. Usually these items are inputted through a select list, checkboxes, or radio buttons.') . '
'; + $output .= '
' . t('Image') . '
'; + $output .= '
' . t('Fields for storing images.') . '
'; + $output .= '
' . t('File') . '
'; + $output .= '
' . t('Fields for attaching files to content.') . '
'; + $output .= '
'; + $output .= '
' . t('Additional fields may be provided by contributed modules, which you can find in the contributed module section of drupal.org.', array('@contrib' => 'http://drupal.org/project/modules')) . '
'; + $output .= '
'; return $output; } }