You are here

public function GeofieldProximitySourceBase::getUnits in Geofield 8

Get the current units.

Return value

string The name of the units constant to be used or string representation of it.

Overrides GeofieldProximitySourceInterface::getUnits

File

src/Plugin/GeofieldProximitySourceBase.php, line 104

Class

GeofieldProximitySourceBase
Base class for Geofield Proximity Source plugins.

Namespace

Drupal\geofield\Plugin

Code

public function getUnits() {
  return $this->units;
}