public function ComputedStringFormatter::settingsSummary in Computed Field 3.x
Same name and namespace in other branches
- 8.2 src/Plugin/Field/FieldFormatter/ComputedStringFormatter.php \Drupal\computed_field\Plugin\Field\FieldFormatter\ComputedStringFormatter::settingsSummary()
Overrides ComputedCacheFormatterTrait::settingsSummary
File
- src/
Plugin/ Field/ FieldFormatter/ ComputedStringFormatter.php, line 46
Class
- ComputedStringFormatter
- Plugin implementation of the 'computed_string' formatter.
Namespace
Drupal\computed_field\Plugin\Field\FieldFormatterCode
public function settingsSummary() {
$summary = parent::settingsSummary();
$summary[] = $this
->getSetting('sanitized') ? t('Sanitized') : t('Unsanitized');
return $summary;
}