function FileCopyTest::providerSuccessfulReuse
Provides the source and destination path files.
File
- 
              core/modules/ migrate/ tests/ src/ Kernel/ process/ FileCopyTest.php, line 114 
Class
- FileCopyTest
- Tests the file_copy process plugin.
Namespace
Drupal\Tests\migrate\Kernel\processCode
public static function providerSuccessfulReuse() {
  return [
    [
      'source_path' => static::getDrupalRoot() . '/core/tests/fixtures/files/image-test.jpg',
      'destination_path' => 'public://file1.jpg',
    ],
    [
      'source_path' => 'https://www.drupal.org/favicon.ico',
      'destination_path' => 'public://file2.jpg',
    ],
  ];
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
