public function ContactFieldFormatter::settingsSummary in Contact Formatter 8
Same name and namespace in other branches
- 2.x src/Plugin/Field/FieldFormatter/ContactFieldFormatter.php \Drupal\contact_formatter\Plugin\Field\FieldFormatter\ContactFieldFormatter::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 FormatterBase::settingsSummary
File
- src/
Plugin/ Field/ FieldFormatter/ ContactFieldFormatter.php, line 99
Class
- ContactFieldFormatter
- Plugin implementation of the 'contact_field_formatter' formatter.
Namespace
Drupal\contact_formatter\Plugin\Field\FieldFormatterCode
public function settingsSummary() {
$summary = [];
// Implement settings summary.
return $summary;
}