public function RangeFieldInstanceSettingsTest::transformDataProvider in Range 8
Same name in this branch
- 8 tests/src/Unit/Plugin/migrate/process/d6/RangeFieldInstanceSettingsTest.php \Drupal\Tests\range\Unit\Plugin\migrate\process\d6\RangeFieldInstanceSettingsTest::transformDataProvider()
- 8 tests/src/Unit/Plugin/migrate/process/d7/RangeFieldInstanceSettingsTest.php \Drupal\Tests\range\Unit\Plugin\migrate\process\d7\RangeFieldInstanceSettingsTest::transformDataProvider()
Data provider for testTransform.
File
- tests/
src/ Unit/ Plugin/ migrate/ process/ d7/ RangeFieldInstanceSettingsTest.php, line 32
Class
- RangeFieldInstanceSettingsTest
- @coversDefaultClass \Drupal\range\Plugin\migrate\process\d7\RangeFieldInstanceSettings @group range
Namespace
Drupal\Tests\range\Unit\Plugin\migrate\process\d7Code
public function transformDataProvider() {
return [
[
[
[
'field' => [
'prefix' => 'a',
'suffix' => 'b',
],
'from' => [
'label' => 'From',
'prefix' => 'c',
'suffix' => 'd',
],
'to' => [
'label' => 'to',
'prefix' => 'e',
'suffix' => 'f',
],
'combined' => [
'prefix' => 'g',
'suffix' => 'h',
],
'user_register_form' => FALSE,
],
],
[
'field' => [
'prefix' => 'a',
'suffix' => 'b',
],
'from' => [
'prefix' => 'c',
'suffix' => 'd',
],
'to' => [
'prefix' => 'e',
'suffix' => 'f',
],
'combined' => [
'prefix' => 'g',
'suffix' => 'h',
],
],
],
];
}