You are here

protected function GeocoderApiEnpoints::getAddressFormatter in Geocoder 8.2

Same name and namespace in other branches
  1. 8.3 src/Controller/GeocoderApiEnpoints.php \Drupal\geocoder\Controller\GeocoderApiEnpoints::getAddressFormatter()

Get the Address Formatter.

File

src/Controller/GeocoderApiEnpoints.php, line 62

Class

GeocoderApiEnpoints
Class GeocoderApiEnpoints.

Namespace

Drupal\geocoder\Controller

Code

protected function getAddressFormatter($address_format = NULL) {
  return $address_format ?: 'default_formatted_address';
}