You are here

public static function RadioactivityReferenceValue::defaultSettings in Radioactivity 4.0.x

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/RadioactivityReferenceValue.php, line 24

Class

RadioactivityReferenceValue
Plugin implementation of the 'radioactivity_reference_value' formatter.

Namespace

Drupal\radioactivity\Plugin\Field\FieldFormatter

Code

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