function FileCopyTest::providerDeprecationNoticeRename
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\processCode
public function providerDeprecationNoticeRename() {
return [
[
[
'rename' => TRUE,
],
FileSystemInterface::EXISTS_RENAME,
],
[
[
'rename' => FALSE,
],
FileSystemInterface::EXISTS_REPLACE,
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.