You are here

public function FileCopyTest::providerDeprecationNoticeRename in Drupal 8

Data provider for testDeprecationNoticeRename.

File

core/modules/migrate/tests/src/Unit/process/FileCopyTest.php, line 39

Class

FileCopyTest
Tests the file copy process plugin.

Namespace

Drupal\Tests\migrate\Unit\process

Code

public function providerDeprecationNoticeRename() {
  return [
    [
      [
        'rename' => TRUE,
      ],
      FileSystemInterface::EXISTS_RENAME,
    ],
    [
      [
        'rename' => FALSE,
      ],
      FileSystemInterface::EXISTS_REPLACE,
    ],
  ];
}