Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 9.x
»
file.inc
»
FILE_EXISTS_ERROR
Search Drupal 9.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 9.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
Deprecated
12 uses of FILE_EXISTS_ERROR
CopyTest::testExistingError
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
CopyTest.php
Test that copying over an existing file fails when
FILE_EXISTS_ERROR
is specified.
CopyTest::testNormal
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
CopyTest.php
Test file copying in the normal, base case.
DirectoryTest::testFileDestination
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
File/
DirectoryTest.php
This will test the filepath for a destination based on passed flags and whether or not the file exists.
FileMoveTest::testNormal
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Image/
FileMoveTest.php
Tests moving a randomly generated image.
file_destination
in drupal/
core/
includes/
file.inc
Determines the destination path for a file.
MoveTest::testExistingError
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
MoveTest.php
Test that moving onto an existing file fails when
FILE_EXISTS_ERROR
is specified.
MoveTest::testNormal
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
MoveTest.php
Move a normal file.
SaveDataTest::testExistingError
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
SaveDataTest.php
Test that
file_save_data
() fails overwriting an existing file.
SaveUploadTest::testExistingError
in drupal/
core/
modules/
file/
lib/
Drupal/
file/
Tests/
SaveUploadTest.php
Test for failure when uploading over a file that already exists.
UnmanagedCopyTest::testNormal
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
File/
UnmanagedCopyTest.php
Copy a normal file.
UnmanagedCopyTest::testOverwriteSelf
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
File/
UnmanagedCopyTest.php
Copy a file onto itself.
UnmanagedMoveTest::testNormal
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
File/
UnmanagedMoveTest.php
Move a normal file.