You are here

public function GeofieldProximitySourceBase::getOrigin in Geofield 8

Gets the proximity distance origin.

Return value

array The proximity distance origin.

Overrides GeofieldProximitySourceInterface::getOrigin

2 calls to GeofieldProximitySourceBase::getOrigin()
GeofieldProximitySourceBase::getHaversineOptions in src/Plugin/GeofieldProximitySourceBase.php
Gets the haversine options.
GeofieldProximitySourceBase::getProximity in src/Plugin/GeofieldProximitySourceBase.php
Get the calculated proximity.
2 methods override GeofieldProximitySourceBase::getOrigin()
ContextProximityFilter::getOrigin in src/Plugin/GeofieldProximitySource/ContextProximityFilter.php
Gets the proximity distance origin.
OriginFromProximityFilter::getOrigin in src/Plugin/GeofieldProximitySource/OriginFromProximityFilter.php
Gets the proximity distance origin.

File

src/Plugin/GeofieldProximitySourceBase.php, line 70

Class

GeofieldProximitySourceBase
Base class for Geofield Proximity Source plugins.

Namespace

Drupal\geofield\Plugin

Code

public function getOrigin() {
  return $this->origin;
}