You are here

public function GeofieldProximitySourceInterface::getHaversineOptions in Geofield 8

Gets the haversine options.

Return value

array The haversine options.

Throws

\Drupal\geofield\Exception\HaversineUnavailableException; If the haversine is unavailable, due to incorrect setup definitions.

1 method overrides GeofieldProximitySourceInterface::getHaversineOptions()
GeofieldProximitySourceBase::getHaversineOptions in src/Plugin/GeofieldProximitySourceBase.php
Gets the haversine options.

File

src/Plugin/GeofieldProximitySourceInterface.php, line 121

Class

GeofieldProximitySourceInterface
Defines an interface for Geofield Proximity Source plugins.

Namespace

Drupal\geofield\Plugin

Code

public function getHaversineOptions();