public function TweetbuttonNoneFormatter::settingsSummary in Tweet Button 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
- lib/
Drupal/ tweetbutton/ Plugin/ Field/ FieldFormatter/ TweetbuttonNoneFormatter.php, line 44 - Contains \Drupal\tweetbutton\Plugin\field\formatter\TweetbuttonNoneFormatter.
Class
- TweetbuttonNoneFormatter
- Plugin implementation of the 'telephone_link' formatter.
Namespace
Drupal\tweetbutton\Plugin\Field\FieldFormatterCode
public function settingsSummary() {
$summary = array();
$settings = $this
->getSettings();
return $summary;
}