public function EmailContactLinkFormatter::settingsSummary in Email Contact 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/ EmailContactLinkFormatter.php, line 86
Class
- EmailContactLinkFormatter
- Plugin implementation of the 'email_contact_link' formatter.
Namespace
Drupal\email_contact\Plugin\Field\FieldFormatterCode
public function settingsSummary() {
$summary = array();
$summary[] = t('Displays a link to a contact form.');
return $summary;
}