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