public static function IntegerFormatter::defaultSettings in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/IntegerFormatter.php \Drupal\Core\Field\Plugin\Field\FieldFormatter\IntegerFormatter::defaultSettings()
Defines the default settings for this plugin.
Return value
array A list of default settings, keyed by the setting name.
Overrides PluginSettingsBase::defaultSettings
File
- core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldFormatter/ IntegerFormatter.php, line 25
Class
- IntegerFormatter
- Plugin implementation of the 'number_integer' formatter.
Namespace
Drupal\Core\Field\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return [
'thousand_separator' => '',
'prefix_suffix' => TRUE,
] + parent::defaultSettings();
}