diff --git a/core/modules/telephone/telephone.module b/core/modules/telephone/telephone.module index 5445c5b..c093a50 100644 --- a/core/modules/telephone/telephone.module +++ b/core/modules/telephone/telephone.module @@ -6,6 +6,31 @@ */ /** + * Implements hook_help(). + */ +function telephone_help($path, $arg) { + switch ($path) { + case 'admin/help#telephone': + $output = ''; + $output .= '

' . t('About') . '

'; + $output .= '

' . t('The Telephone module allows you to create fields that contain telephone numbers. 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 on the Telephone field, see the online documentation for the Telephone module.', array('@field' => url('admin/help/field'), '@field_ui' => url('admin/help/field_ui'), '@telephone_documentation' => 'https://drupal.org/documentation/modules/telephone')) . '

'; + $output .= '

' . t('Uses') . '

'; + $output .= '
'; + $output .= '
' . t('Managing and displaying link fields') . '
'; + $output .= '
' . t('The settings and the display of the link field can be configured separately. See the Field UI help for more information on how to manage fields and their display.', array('@field_ui' => url('admin/help/field_ui'))) . '
'; + $output .= '
' . t('Displaying telephone numbers as links') . '
'; + $output .= '
' . t('Telephone numbers can be displayed as links with the scheme name tel: by choosing the Telephone display format. Any spaces will be stripped out of the link.') . '
'; + $output .= '
'; + return $output; + } +} + + + + + + +/** * Implements hook_field_info_alter(). */ function telephone_field_info_alter(&$info) {