You are here

public function FileGeocodeFormatter::settingsSummary in Geocoder 8.3

Same name and namespace in other branches
  1. 8.2 modules/geocoder_field/src/Plugin/Field/FieldFormatter/FileGeocodeFormatter.php \Drupal\geocoder_field\Plugin\Field\FieldFormatter\FileGeocodeFormatter::settingsSummary()

Returns a short summary for the current formatter settings.

If an empty result is returned, a UI can still be provided to display a settings form in case the formatter has configurable settings.

Return value

string[] A short summary of the formatter settings.

Overrides GeocodeFormatterBase::settingsSummary

1 call to FileGeocodeFormatter::settingsSummary()
GeoPhpGeocodeFormatter::settingsSummary in modules/geocoder_geofield/src/Plugin/Field/FieldFormatter/GeoPhpGeocodeFormatter.php
Returns a short summary for the current formatter settings.
1 method overrides FileGeocodeFormatter::settingsSummary()
GeoPhpGeocodeFormatter::settingsSummary in modules/geocoder_geofield/src/Plugin/Field/FieldFormatter/GeoPhpGeocodeFormatter.php
Returns a short summary for the current formatter settings.

File

modules/geocoder_field/src/Plugin/Field/FieldFormatter/FileGeocodeFormatter.php, line 184

Class

FileGeocodeFormatter
Plugin implementation of the Geocode formatter for File and Image fields.

Namespace

Drupal\geocoder_field\Plugin\Field\FieldFormatter

Code

public function settingsSummary() {
  $summary['intro'] = $this->pluginDefinition['description'];
  $summary += parent::settingsSummary();
  return $summary;
}