FILE_EXISTS_ERROR
Same name in other branches
- 8.9.x core/includes/file.inc \FILE_EXISTS_ERROR
Flag for dealing with existing files: Do nothing and return FALSE.
Related topics
12 uses of FILE_EXISTS_ERROR
- FileCopyTest::testExistingError in modules/
simpletest/ tests/ file.test - Test that copying over an existing file fails when FILE_EXISTS_ERROR is specified.
- FileCopyTest::testNormal in modules/
simpletest/ tests/ file.test - Test file copying in the normal, base case.
- FileDirectoryTest::testFileDestination in modules/
simpletest/ tests/ file.test - This will test the filepath for a destination based on passed flags and whether or not the file exists.
- FileMoveTest::testExistingError in modules/
simpletest/ tests/ file.test - Test that moving onto an existing file fails when FILE_EXISTS_ERROR is specified.
- FileMoveTest::testNormal in modules/
simpletest/ tests/ file.test - Move a normal file.
File
-
includes/
file.inc, line 61
Code
define('FILE_EXISTS_ERROR', 2);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.