public function GeofieldProximitySourceInterface::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.
1 method overrides GeofieldProximitySourceInterface::getUnits()
- GeofieldProximitySourceBase::getUnits in src/
Plugin/ GeofieldProximitySourceBase.php - Get the current units.
File
- src/
Plugin/ GeofieldProximitySourceInterface.php, line 82
Class
- GeofieldProximitySourceInterface
- Defines an interface for Geofield Proximity Source plugins.
Namespace
Drupal\geofield\PluginCode
public function getUnits();