You are here

public function TweetbuttonVerticalFormatter::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/TweetbuttonVerticalFormatter.php, line 44
Contains \Drupal\tweetbutton\Plugin\field\formatter\TweetbuttonVerticalFormatter.

Class

TweetbuttonVerticalFormatter
Plugin implementation of the 'telephone_link' formatter.

Namespace

Drupal\tweetbutton\Plugin\Field\FieldFormatter

Code

public function settingsSummary() {
  $summary = array();
  $settings = $this
    ->getSettings();
  return $summary;
}