public function MigrateRangeFieldTest::fieldMigrationDataProvider in Range 8
Same name in this branch
- 8 tests/src/Kernel/Migrate/d6/MigrateRangeFieldTest.php \Drupal\Tests\range\Kernel\Migrate\d6\MigrateRangeFieldTest::fieldMigrationDataProvider()
- 8 tests/src/Kernel/Migrate/d7/MigrateRangeFieldTest.php \Drupal\Tests\range\Kernel\Migrate\d7\MigrateRangeFieldTest::fieldMigrationDataProvider()
Data provider for testFieldMigration.
File
- tests/
src/ Kernel/ Migrate/ d7/ MigrateRangeFieldTest.php, line 71
Class
- MigrateRangeFieldTest
- Tests Drupal 7 range fields migration.
Namespace
Drupal\Tests\range\Kernel\Migrate\d7Code
public function fieldMigrationDataProvider() {
return [
'range_decimal' => [
'node.field_decimal',
'range_decimal',
[
'precision' => 12,
'scale' => 4,
],
],
'range_float' => [
'node.field_float',
'range_float',
[],
],
'range_integer' => [
'node.field_integer',
'range_integer',
[],
],
];
}