You are here

public function GeofieldProximitySourceBase::setOrigin in Geofield 8

Sets the proximity distance origin.

Parameters

array $origin: The proximity distance origin.

Overrides GeofieldProximitySourceInterface::setOrigin

File

src/Plugin/GeofieldProximitySourceBase.php, line 77

Class

GeofieldProximitySourceBase
Base class for Geofield Proximity Source plugins.

Namespace

Drupal\geofield\Plugin

Code

public function setOrigin(array $origin) {
  return $this->origin = $origin;
}