You are here

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

Class

geofieldProximityEntityURL
@file Contains geofieldProximityEntityURL.

Code

public function option_definition(&$options, $views_plugin) {
  $options['geofield_proximity_entity_url_entity_type'] = array(
    'default' => 'node',
  );
  $options['geofield_proximity_entity_url_field'] = array(
    'default' => '',
  );
  $options['geofield_proximity_entity_url_delta'] = array(
    'default' => 0,
  );
}