You are here

public static function ComputedStringFormatter::defaultSettings in Computed Field 3.x

Same name and namespace in other branches
  1. 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\FieldFormatter

Code

public static function defaultSettings() {
  return [
    'sanitized' => TRUE,
  ] + parent::defaultSettings();
}