GeolocationAddressFormatter.php in Geolocation Field 8.2
Same filename and directory in other branches
File
modules/geolocation_address/src/Plugin/Field/FieldFormatter/GeolocationAddressFormatter.phpView source
<?php
namespace Drupal\geolocation_address\Plugin\Field\FieldFormatter;
use Drupal\geolocation\Plugin\Field\FieldFormatter\GeolocationMapFormatterBase;
/**
* Plugin implementation of the 'geolocation' formatter.
*
* @FieldFormatter(
* id = "geolocation_address",
* module = "geolocation",
* label = @Translation("Geolocation Address Formatter - Map"),
* field_types = {
* "address"
* }
* )
*/
class GeolocationAddressFormatter extends GeolocationMapFormatterBase {
/**
* {@inheritdoc}
*/
protected static $dataProviderId = 'geolocation_address_field_provider';
}
Classes
Name | Description |
---|---|
GeolocationAddressFormatter | Plugin implementation of the 'geolocation' formatter. |