protected function GeofieldGoogleEmbedMapFormatter::getFormatterIntro in Geofield Map 8.2
2 calls to GeofieldGoogleEmbedMapFormatter::getFormatterIntro()
- GeofieldGoogleEmbedMapFormatter::settingsForm in modules/
geofield_map_extras/ src/ Plugin/ Field/ FieldFormatter/ GeofieldGoogleEmbedMapFormatter.php - Returns a form to configure settings for the formatter.
- GeofieldGoogleEmbedMapFormatter::settingsSummary in modules/
geofield_map_extras/ src/ Plugin/ Field/ FieldFormatter/ GeofieldGoogleEmbedMapFormatter.php - Returns a short summary for the current formatter settings.
File
- modules/
geofield_map_extras/ src/ Plugin/ Field/ FieldFormatter/ GeofieldGoogleEmbedMapFormatter.php, line 116
Class
- GeofieldGoogleEmbedMapFormatter
- Plugin implementation of the 'geofield_embed_google_map' formatter.
Namespace
Drupal\geofield_map_extras\Plugin\Field\FieldFormatterCode
protected function getFormatterIntro() {
return $this
->t("Renders a Google Map, according to the @map_embed_api_link.<br>Note: <u>Only 'Place' mode and Points supported</u>, and not Geometries (Polylines, Polygons, etc.)", [
'@map_embed_api_link' => $this->link
->generate($this
->t('Google Maps Embed API'), Url::fromUri('https://developers.google.com/maps/documentation/embed/guide', [
'absolute' => TRUE,
'attributes' => [
'target' => 'blank',
],
])),
]);
}