public function AddressText::dump in Geocoder 8.3
Same name and namespace in other branches
- 8.2 src/Plugin/Geocoder/Dumper/AddressText.php \Drupal\geocoder\Plugin\Geocoder\Dumper\AddressText::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
- src/
Plugin/ Geocoder/ Dumper/ AddressText.php, line 74
Class
- AddressText
- Provides an address string geocoder dumper plugin.
Namespace
Drupal\geocoder\Plugin\Geocoder\DumperCode
public function dump(Location $location) {
return $this->geocoderFormatter
->format($location);
}