You are here

public function Geohash::dump in Geocoder 8.2

Same name in this branch
  1. 8.2 modules/geocoder_geofield/src/Geocoder/Dumper/Geohash.php \Drupal\geocoder_geofield\Geocoder\Dumper\Geohash::dump()
  2. 8.2 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.3 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\Model\Address $address: 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(Address $address) {
  return parent::dump($address)
    ->out('geohash');
}