You are here

function addressfield_autocomplete_help in Addressfield Autocomplete 7

Implements hook_help().

File

./addressfield_autocomplete.module, line 262
The Addressfield Autocomplete module code.

Code

function addressfield_autocomplete_help($path, $arg) {
  switch ($path) {
    case 'admin/help#addressfield_autocomplete':
      $output = '';
      $output .= '<p>' . t('<a href="@project_page">Addressfield autocomplete</a> provides a hook into google maps autocomplete API.', array(
        '@project_page' => 'http://drupal.org/project/addressfield_autocomplete',
      )) . '</p>';
      $output .= '<h2>' . t('Usage') . '</h2>';
      $output .= '<p>' . t('Implements a new widget which utilises the addressfield field type and provides an easy to use single box for entering an address') . '</p>';
      $output .= '<h2>' . t('Configuration') . '</h2>';
      $output .= '<p>' . t('The configuration is done on each field instance, choose the address autocomplete widget on an addressfield type and the settings will be made available inside the field ui.') . '</p>';
      $output .= '<h3>' . t('Options') . '</h3>';
      $output .= '<p>' . t('The options include, but are not limited to: specific country searches, disabling the map, adding draggable markers, using browser geolocation and place type searches.') . '</p>';
      return $output;
  }
}