public static function IntegerFormatter::defaultSettings in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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 30 - Contains \Drupal\Core\Field\Plugin\Field\FieldFormatter\IntegerFormatter.
Class
- IntegerFormatter
- Plugin implementation of the 'number_integer' formatter.
Namespace
Drupal\Core\Field\Plugin\Field\FieldFormatterCode
public static function defaultSettings() {
return array(
'thousand_separator' => '',
'prefix_suffix' => TRUE,
) + parent::defaultSettings();
}