You are here

public function ContryISO2Formatter::settingsSummary in Country, State and City Fields 8

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 FormatterBase::settingsSummary

File

src/Plugin/Field/FieldFormatter/ContryISO2Formatter.php, line 99

Class

ContryISO2Formatter
Plugin implementation of the 'country_formatter' formatter.

Namespace

Drupal\country_state_city\Plugin\Field\FieldFormatter

Code

public function settingsSummary() {
  $summary = [];

  // Implement settings summary.
  return $summary;
}