public function ComputedStringFormatter::settingsSummary in Computed Field 8.2
Same name and namespace in other branches
- 3.x src/Plugin/Field/FieldFormatter/ComputedStringFormatter.php \Drupal\computed_field\Plugin\Field\FieldFormatter\ComputedStringFormatter::settingsSummary()
Overrides ComputedCacheFormatterTrait::settingsSummary
1 call to ComputedStringFormatter::settingsSummary()
- ComputedPhpFormatterPhp::settingsSummary in computed_field_php_formatter/
src/ Plugin/ Field/ FieldFormatter/ ComputedPhpFormatterPhp.php
1 method overrides ComputedStringFormatter::settingsSummary()
- ComputedPhpFormatterPhp::settingsSummary in computed_field_php_formatter/
src/ Plugin/ Field/ FieldFormatter/ ComputedPhpFormatterPhp.php
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;
}