You are here

function phonefield_help in Phone Field 7

Implements hook_help().

File

./phonefield.module, line 11
Hooks for a module that defines a simple phone number field type.

Code

function phonefield_help($path, $arg) {
  if ($path == 'admin/help#phonefield') {
    $output = '<p>' . t('This module defines a field type for phone numbers.') . '</p>';
    if (module_exists('advanced_help_hint')) {
      $output .= '<p>' . advanced_help_hint_docs('phonefield', 'https://www.drupal.org/docs/7/modules/phone-field', TRUE) . '</p>';
    }
    return $output;
  }
}