You are here

GeolocationAddressFormatter.php in Geolocation Field 8.2

File

modules/geolocation_address/src/Plugin/Field/FieldFormatter/GeolocationAddressFormatter.php
View 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

Namesort descending Description
GeolocationAddressFormatter Plugin implementation of the 'geolocation' formatter.