You are here

public function geofieldProximityCurrentUser::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/geofieldProximityCurrentUser.inc, line 9
Contains geofieldProximityCurrentUser.

Class

geofieldProximityCurrentUser
@file Contains geofieldProximityCurrentUser.

Code

public function option_definition(&$options, $views_plugin) {
  $options['geofield_proximity_current_user_field'] = array(
    'default' => '',
  );
  $options['geofield_proximity_current_user_delta'] = array(
    'default' => 0,
  );
}