GpxFileGeocodeFormatter.php in Geocoder 8.2
Same filename and directory in other branches
File
modules/geocoder_geofield/src/Plugin/Field/FieldFormatter/GpxFileGeocodeFormatter.phpView source
<?php
namespace Drupal\geocoder_geofield\Plugin\Field\FieldFormatter;
/**
* Plugin implementation of the "Geocode GPX" formatter for File fields.
*
* @FieldFormatter(
* id = "geocoder_geocode_formatter_gpxfile",
* label = @Translation("Geocode GPX"),
* field_types = {
* "file",
* },
* description =
* "Renders valid GPX data from the file content in the chosen format"
* )
*/
class GpxFileGeocodeFormatter extends GeoPhpGeocodeFormatter {
/**
* Unique Geocoder Plugin used by this formatter.
*
* @var string
*/
protected $formatterPlugin = 'gpxfile';
}
Classes
Name | Description |
---|---|
GpxFileGeocodeFormatter | Plugin implementation of the "Geocode GPX" formatter for File fields. |