You are here

public function Geohash::dump in Geocoder 8.3

Same name in this branch
  1. 8.3 modules/geocoder_geofield/src/Geocoder/Dumper/Geohash.php \Drupal\geocoder_geofield\Geocoder\Dumper\Geohash::dump()
  2. 8.3 modules/geocoder_geofield/src/Plugin/Geocoder/Dumper/Geohash.php \Drupal\geocoder_geofield\Plugin\Geocoder\Dumper\Geohash::dump()
Same name and namespace in other branches
  1. 8.2 modules/geocoder_geofield/src/Plugin/Geocoder/Dumper/Geohash.php \Drupal\geocoder_geofield\Plugin\Geocoder\Dumper\Geohash::dump()

Dumps the argument into a specific format.

Parameters

\Geocoder\Location $location: The address to be formatted.

Return value

string The formatted address.

Overrides DumperBase::dump

File

modules/geocoder_geofield/src/Plugin/Geocoder/Dumper/Geohash.php, line 22

Class

Geohash
Provides a geohash geocoder dumper plugin.

Namespace

Drupal\geocoder_geofield\Plugin\Geocoder\Dumper

Code

public function dump(Location $location) {
  return parent::dump($location)
    ->out('geohash');
}