You are here

14 uses of FILE_EXISTS_ERROR in Zircon Profile 8.0

CopyTest::testExistingError in core/modules/file/src/Tests/CopyTest.php
Test that copying over an existing file fails when FILE_EXISTS_ERROR is specified.
CopyTest::testNormal in core/modules/file/src/Tests/CopyTest.php
Test file copying in the normal, base case.
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.
FileItem::generateSampleValue in core/modules/file/src/Plugin/Field/FieldType/FileItem.php
Generates placeholder field values.
FileMoveTest::testNormal in core/modules/image/src/Tests/FileMoveTest.php
Tests moving a randomly generated image.
file_destination in core/includes/file.inc
Determines the destination path for a file.
ImageFieldDefaultImagesTest::testDefaultImages in core/modules/image/src/Tests/ImageFieldDefaultImagesTest.php
Tests CRUD for fields and fields fields with default images.
MoveTest::testExistingError in core/modules/file/src/Tests/MoveTest.php
Test that moving onto an existing file fails when FILE_EXISTS_ERROR is specified.
MoveTest::testNormal in core/modules/file/src/Tests/MoveTest.php
Move a normal file.
SaveDataTest::testExistingError in core/modules/file/src/Tests/SaveDataTest.php
Test that file_save_data() fails overwriting an existing file.
SaveUploadTest::testExistingError in core/modules/file/src/Tests/SaveUploadTest.php
Test for failure 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.