function geocoder_handler_info in Geocoder 7
Geocoder Handler Information.
Return a list of all handlers that might geocode something for you. Optionally you may pass a field-type and get back a list of handlers that are compatible with that field.
5 calls to geocoder_handler_info()
- geocoder_field_widget_settings_form in ./
geocoder.widget.inc  - Implements field_widget_settings_form().
 - geocoder_get_handler in ./
geocoder.module  - Fetch geocoder handler.
 - geocoder_permission in ./
geocoder.module  - Implements hook_permission().
 - geocoder_services_capabilities in ./
geocoder.services.inc  - Callback.
 - geocoder_supported_field_types in ./
geocoder.module  - Get supported field types.
 
File
- ./
geocoder.module, line 139  
Code
function geocoder_handler_info($field_type = NULL) {
  ctools_include('plugins');
  static $handlers;
  if (!$handlers) {
    $handlers = ctools_get_plugins('geocoder', 'geocoder_handler');
  }
  if ($field_type) {
    $field_handlers = $handlers;
    foreach ($field_handlers as $i => $handler) {
      if (!isset($handler['field_types']) || !in_array($field_type, $handler['field_types'], TRUE)) {
        unset($field_handlers[$i]);
      }
    }
    return $field_handlers;
  }
  return $handlers;
}