From 621d01624e5b3a4bb7ef47bf901ac0f61089ab18 Mon Sep 17 00:00:00 2001 From: webchick Date: Wed, 9 Oct 2013 10:15:36 -0700 Subject: [PATCH] Revert "Issue #2078813 by JulienD, batigolix, ifrik: Create hook_help() for telephone module" Most innocent patch to ever break HEAD in Drupal's history? This reverts commit c0f747d040cb772dde0b5f1704e3da05b59e910b. --- core/modules/telephone/telephone.module | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/core/modules/telephone/telephone.module b/core/modules/telephone/telephone.module index 23099a977e7..2d2bd355c85 100644 --- a/core/modules/telephone/telephone.module +++ b/core/modules/telephone/telephone.module @@ -5,26 +5,6 @@ * Defines a simple telephone number field type. */ -/** - * 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, see the online documentation for the Telephone module.', array('!field' => \Drupal::url('help.page', array('name' => 'field')), '!field_ui' => \Drupal::url('help.page', array('name' => 'field_ui')), '!telephone_documentation' => 'https://drupal.org/documentation/modules/telephone')) . '

'; - $output .= '

' . t('Uses') . '

'; - $output .= '
'; - $output .= '
' . t('Managing and displaying telephone fields') . '
'; - $output .= '
' . t('The settings and the display of the telephone 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('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 on the Manage display page. Any spaces will be stripped out of the link text.') . '
'; - $output .= '
'; - return $output; - } -} - /** * Implements hook_field_info_alter(). */