public static function ComputedStringFormatter::defaultSettings 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::defaultSettings()
Overrides ComputedCacheFormatterTrait::defaultSettings
File
- src/
Plugin/ Field/ FieldFormatter/ ComputedStringFormatter.php, line 24
Class
- ComputedStringFormatter
- Plugin implementation of the 'computed_string' formatter.
Namespace
Drupal\computed_field\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return [
'sanitized' => TRUE,
] + parent::defaultSettings();
}