You are here

public function FileLinkFormatterTrait::settingsSummary in File Link 8

Same name and namespace in other branches
  1. 2.0.x src/FileLinkFormatterTrait.php \Drupal\file_link\FileLinkFormatterTrait::settingsSummary()

File

src/FileLinkFormatterTrait.php, line 37

Class

FileLinkFormatterTrait
Provide common methods for file link formatters.

Namespace

Drupal\file_link

Code

public function settingsSummary() {
  $summary = parent::settingsSummary();
  $summary[] = $this
    ->getSetting('format_size') ? $this
    ->t('Size value: formatted') : $this
    ->t('Size value: plain');
  return $summary;
}