You are here

public static function RangeIntegerFormatter::defaultSettings in Range 8

Defines the default settings for this plugin.

Return value

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

Overrides RangeFormatterBase::defaultSettings

2 calls to RangeIntegerFormatter::defaultSettings()
IntegerFormatterTest::setUp in tests/src/Kernel/Formatter/IntegerFormatterTest.php
RangeDecimalFormatter::defaultSettings in src/Plugin/Field/FieldFormatter/RangeDecimalFormatter.php
Defines the default settings for this plugin.
1 method overrides RangeIntegerFormatter::defaultSettings()
RangeDecimalFormatter::defaultSettings in src/Plugin/Field/FieldFormatter/RangeDecimalFormatter.php
Defines the default settings for this plugin.

File

src/Plugin/Field/FieldFormatter/RangeIntegerFormatter.php, line 27

Class

RangeIntegerFormatter
Plugin implementation of the 'range_integer' formatter.

Namespace

Drupal\range\Plugin\Field\FieldFormatter

Code

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