public function geofieldProximityManual::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/ geofieldProximityManual.inc, line 9 - Contains geofieldProximityManual.
Class
- geofieldProximityManual
- @file Contains geofieldProximityManual.
Code
public function option_definition(&$options, $views_plugin) {
$options['geofield_proximity_manual'] = array(
'default' => array(
'lat' => 0,
'lon' => 0,
),
);
}