function FileCopyTest::providerDeprecationNoticeReuse

Data provider for testDeprecationNoticeReuse.

File

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

Class

FileCopyTest
Tests the file copy process plugin.

Namespace

Drupal\Tests\migrate\Unit\process

Code

public function providerDeprecationNoticeReuse() {
    return [
        [
            [
                'reuse' => TRUE,
            ],
            FileSystemInterface::EXISTS_ERROR,
        ],
        [
            [
                'reuse' => FALSE,
            ],
            FileSystemInterface::EXISTS_REPLACE,
        ],
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.