function RowTest::getDataProvider
Data Provider for testGet.
Return value
array The keys and expected values.
File
- 
              core/modules/ migrate/ tests/ src/ Unit/ RowTest.php, line 336 
Class
- RowTest
- @coversDefaultClass \Drupal\migrate\Row[[api-linebreak]] @group migrate
Namespace
Drupal\Tests\migrate\UnitCode
public static function getDataProvider() {
  return [
    [
      'source_key_1',
      'source_value_1',
    ],
    [
      'source_key_2',
      'source_value_2',
    ],
    [
      '@@source_key_3',
      'source_value_3',
    ],
    [
      'shared_key_1',
      'source_shared_value_1',
    ],
    [
      '@@shared_key_2',
      'source_shared_value_2',
    ],
    [
      '@@@@@@@@shared_key_3',
      'source_shared_value_3',
    ],
    [
      '@destination_key_1',
      'destination_value_1',
    ],
    [
      '@destination_key_2',
      'destination_value_2',
    ],
    [
      '@@@destination_key_3',
      'destination_value_3',
    ],
    [
      '@shared_key_1',
      'destination_shared_value_1',
    ],
    [
      '@@@shared_key_2',
      'destination_shared_value_2',
    ],
    [
      '@@@@@@@@@shared_key_3',
      'destination_shared_value_3',
    ],
    [
      'destination_key_1',
      NULL,
    ],
    [
      '@shared_key_2',
      NULL,
    ],
    [
      '@source_key_1',
      NULL,
    ],
    [
      'random_source_key',
      NULL,
    ],
    [
      '@random_destination_key',
      NULL,
    ],
  ];
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
