You are here

public static function ComputedRawFormatter::defaultSettings in Computed Field 8

Defines the default settings for this plugin.

Return value

array A list of default settings, keyed by the setting name.

Overrides PluginSettingsBase::defaultSettings

File

src/Plugin/Field/FieldFormatter/ComputedRawFormatter.php, line 26

Class

ComputedRawFormatter
Plugin implementation of the 'computed_raw' formatter.

Namespace

Drupal\computed_field\Plugin\Field\FieldFormatter

Code

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