You are here

public function geofieldProximityGeocoder::option_definition in Geofield 7.2

All methods in geofieldProximityPluginInterface maps directly to a method in a views_handler class, expect for 'getSourceValue,' which is primarily called in the 'query' method, but also in other instances.

Overrides geofieldProximityBase::option_definition

File

views/proximity_plugins/geofieldProximityGeocoder.inc, line 9
Contains geofieldProximityGeocoder.

Class

geofieldProximityGeocoder
@file Contains geofieldProximityGeocoder.

Code

public function option_definition(&$options, $views_plugin) {
  $options['geofield_proximity_geocoder'] = array(
    'default' => '',
  );
  $options['geofield_proximity_geocoder_engine'] = array(
    'default' => 'google',
  );
}