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\PluginCode
public function setOrigin(array $origin) {
return $this->origin = $origin;
}