You are here

21 uses of FILE_EXISTS_RENAME in Zircon Profile 8

CopyTest::testExistingRename in core/modules/file/src/Tests/CopyTest.php
Test renaming when copying over a file that already exists.
DirectoryTest::testFileDestination in core/modules/system/src/Tests/File/DirectoryTest.php
This will test the filepath for a destination based on passed flags and whether or not the file exists.
EntityFile::getOverwriteMode in core/modules/file/src/Plugin/migrate/destination/EntityFile.php
Determines how to handle file conflicts.
EntityFileTest::testGetOverwriteMode in core/modules/file/src/Tests/Migrate/EntityFileTest.php
Tests various invocations of the getOverwriteMode() method.
EntityFileTest::testWriteFile in core/modules/file/src/Tests/Migrate/EntityFileTest.php
Tests various invocations of the writeFile() method.
FileTestForm::buildForm in core/modules/file/tests/file_test/src/Form/FileTestForm.php
Form constructor.
file_copy in core/modules/file/file.module
Copies a file to a new location and adds a file record to the database.
file_destination in core/includes/file.inc
Determines the destination path for a file.
file_move in core/modules/file/file.module
Moves a file to a new location and update the file's database entry.
file_save_data in core/modules/file/file.module
Saves a file to the specified destination and creates a database entry.
ImageDimensionsTest::testImageDimensions in core/modules/image/src/Tests/ImageDimensionsTest.php
Test styled image dimensions cumulatively.
ImageStylesPathAndUrlTest::doImageStyleUrlAndPathTests in core/modules/image/src/Tests/ImageStylesPathAndUrlTest.php
Tests building an image style URL.
ImageThemeFunctionTest::testImageFormatterTheme in core/modules/image/src/Tests/ImageThemeFunctionTest.php
Tests usage of the image field formatters.
ImageThemeFunctionTest::testImageStyleTheme in core/modules/image/src/Tests/ImageThemeFunctionTest.php
Tests usage of the image style theme function.
MoveTest::testExistingRename in core/modules/file/src/Tests/MoveTest.php
Test renaming when moving onto a file that already exists.
SaveDataTest::testExistingRename in core/modules/file/src/Tests/SaveDataTest.php
Test file_save_data() when renaming around an existing file.
SaveUploadTest::testExistingRename in core/modules/file/src/Tests/SaveUploadTest.php
Test renaming when uploading over a file that already exists.
UnmanagedCopyTest::testNormal in core/modules/system/src/Tests/File/UnmanagedCopyTest.php
Copy a normal file.
UnmanagedCopyTest::testOverwriteSelf in core/modules/system/src/Tests/File/UnmanagedCopyTest.php
Copy a file onto itself.
UnmanagedMoveTest::testNormal in core/modules/system/src/Tests/File/UnmanagedMoveTest.php
Move a normal file.
UnmanagedMoveTest::testOverwriteSelf in core/modules/system/src/Tests/File/UnmanagedMoveTest.php
Try to move a file onto itself.