You are here

protected function GeocoderApiEnpoints::getAddressFormatter in Geocoder 8.3

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

Get the Address Formatter.

File

src/Controller/GeocoderApiEnpoints.php, line 70

Class

GeocoderApiEnpoints
Class GeocoderApiEnpoints.

Namespace

Drupal\geocoder\Controller

Code

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