You are here

public function RangeFieldTest::alterMigrationDataProvider in Range 8

Same name in this branch
  1. 8 tests/src/Unit/Plugin/migrate/field/d6/RangeFieldTest.php \Drupal\Tests\range\Unit\Plugin\migrate\field\d6\RangeFieldTest::alterMigrationDataProvider()
  2. 8 tests/src/Unit/Plugin/migrate/field/d7/RangeFieldTest.php \Drupal\Tests\range\Unit\Plugin\migrate\field\d7\RangeFieldTest::alterMigrationDataProvider()

Data provider.

File

tests/src/Unit/Plugin/migrate/field/d6/RangeFieldTest.php, line 219

Class

RangeFieldTest
@coversDefaultClass \Drupal\range\Plugin\migrate\field\d6\RangeField @group range

Namespace

Drupal\Tests\range\Unit\Plugin\migrate\field\d6

Code

public function alterMigrationDataProvider() {
  return [
    'not range field' => [
      'link',
      FALSE,
    ],
    'range integer field' => [
      'range_integer',
      TRUE,
    ],
    'range decimal field' => [
      'range_decimal',
      TRUE,
    ],
    'range float field' => [
      'range_float',
      TRUE,
    ],
  ];
}