GeocoderCountryFormattingBase.php in Geolocation Field 8.2
File
src/GeocoderCountryFormattingBase.php
View source
<?php
namespace Drupal\geolocation;
use Drupal\Core\Plugin\PluginBase;
abstract class GeocoderCountryFormattingBase extends PluginBase implements GeocoderCountryFormattingInterface {
public function format(array $atomics) {
$address_elements = [
'organization' => '',
'addressLine1' => '',
'addressLine2' => '',
'locality' => '',
'postalCode' => '',
'administrativeArea' => '',
'countryCode' => '',
];
return $address_elements;
}
}