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 c0f747d040.
8.0.x
webchick 2013-10-09 10:15:36 -07:00
parent 31227acf31
commit 621d01624e
1 changed files with 0 additions and 20 deletions

View File

@ -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 .= '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('The Telephone module allows you to create fields that contain telephone numbers. 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="!telephone_documentation">online documentation for the Telephone module</a>.', 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')) . '</p>';
$output .= '<h3>' . t('Uses') . '</h3>';
$output .= '<dl>';
$output .= '<dt>' . t('Managing and displaying telephone fields') . '</dt>';
$output .= '<dd>' . t('The <em>settings</em> and the <em>display</em> of the telephone 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('Displaying telephone numbers as links') . '</dt>';
$output .= '<dd>' . t('Telephone numbers can be displayed as links with the scheme name <em>tel:</em> by choosing the <em>Telephone</em> display format on the <em>Manage display</em> page. Any spaces will be stripped out of the link text.') . '</dd>';
$output .= '</dl>';
return $output;
}
}
/**
* Implements hook_field_info_alter().
*/