You are here

protected constant RangeFieldTest::PLUGIN_DEFINITION 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::PLUGIN_DEFINITION
  2. 8 tests/src/Unit/Plugin/migrate/field/d7/RangeFieldTest.php \Drupal\Tests\range\Unit\Plugin\migrate\field\d7\RangeFieldTest::PLUGIN_DEFINITION

File

tests/src/Unit/Plugin/migrate/field/d7/RangeFieldTest.php, line 17

Class

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

Namespace

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

Code

protected const PLUGIN_DEFINITION = [
  'id' => 'd7_range',
  'core' => [
    7,
  ],
  'type_map' => [
    'range_integer' => 'range_integer',
    'range_decimal' => 'range_decimal',
    'range_float' => 'range_float',
  ],
  'source_module' => 'range',
  'destination_module' => 'range',
];