You are here

function geocoder_field_widget_info in Geocoder 7

Implements hook_field_widget_info().

File

./geocoder.widget.inc, line 11
geocoder.widget.inc

Code

function geocoder_field_widget_info() {
  return array(
    'geocoder' => array(
      'label' => t('Geocode from another field'),
      'field types' => array(
        'geofield',
        'geolocation_latlng',
        'location',
        'postgis',
      ),
      'settings' => array(
        'geocoder_field' => NULL,
        'geocoder_handler' => NULL,
        'handler_settings' => array(),
        'delta_handling' => 'default',
      ),
      'behaviors' => array(
        'multiple values' => FIELD_BEHAVIOR_CUSTOM,
        'default value' => FIELD_BEHAVIOR_NONE,
      ),
    ),
  );
}