diff --git a/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/IntegerItem.php b/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/IntegerItem.php index 78d5d9e..2c3377a 100644 --- a/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/IntegerItem.php +++ b/core/lib/Drupal/Core/Field/Plugin/Field/FieldType/IntegerItem.php @@ -40,18 +40,6 @@ public static function defaultStorageSettings() { /** * {@inheritdoc} */ - public static function defaultFieldSettings() { - return array( - 'min' => '', - 'max' => '', - 'prefix' => '', - 'suffix' => '', - ) + parent::defaultFieldSettings(); - } - - /** - * {@inheritdoc} - */ public static function propertyDefinitions(FieldStorageDefinitionInterface $field_definition) { $properties['value'] = DataDefinition::create('integer') ->setLabel(t('Integer value')) diff --git a/core/modules/field/src/Tests/Migrate/d6/MigrateFieldFormatterSettingsTest.php b/core/modules/field/src/Tests/Migrate/d6/MigrateFieldFormatterSettingsTest.php index d901142..191629c 100644 --- a/core/modules/field/src/Tests/Migrate/d6/MigrateFieldFormatterSettingsTest.php +++ b/core/modules/field/src/Tests/Migrate/d6/MigrateFieldFormatterSettingsTest.php @@ -74,7 +74,6 @@ public function testEntityDisplaySettings() { $expected['type'] = 'number_integer'; $expected['settings'] = array( 'thousand_separator' => ',', - 'prefix_suffix' => TRUE, 'format_plural' => 'none', 'format_plural_string' => '', ); @@ -86,7 +85,6 @@ public function testEntityDisplaySettings() { 'scale' => 2, 'decimal_separator' => '.', 'thousand_separator' => ',', - 'prefix_suffix' => TRUE, 'format_plural' => 'none', 'format_plural_string' => '', ); diff --git a/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_nid_argument.yml b/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_nid_argument.yml index b61f1ad..c6b5b1c 100644 --- a/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_nid_argument.yml +++ b/core/modules/node/tests/modules/node_test_views/test_views/views.view.test_nid_argument.yml @@ -106,7 +106,7 @@ display: type: number_integer settings: thousand_separator: '' - prefix_suffix: true + format_plural: 'field' group_column: value group_columns: { } group_rows: true diff --git a/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_taxonomy_term_relationship.yml b/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_taxonomy_term_relationship.yml index 96d0559..a99eb9a 100644 --- a/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_taxonomy_term_relationship.yml +++ b/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_taxonomy_term_relationship.yml @@ -140,7 +140,7 @@ display: type: number_integer settings: thousand_separator: '' - prefix_suffix: true + format_plural: 'field' group_column: value group_columns: { } group_rows: true diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_row_render_cache.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_row_render_cache.yml index ec19b13..c391c25 100644 --- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_row_render_cache.yml +++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_row_render_cache.yml @@ -180,7 +180,7 @@ display: type: number_integer settings: thousand_separator: '' - prefix_suffix: true + format_plural: 'field' group_column: value group_columns: { } group_rows: true