You are here

constant FILE_EXISTS_ERROR in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/includes/file.inc \FILE_EXISTS_ERROR

Flag for dealing with existing files: Do nothing and return FALSE.

Related topics

14 uses of FILE_EXISTS_ERROR
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.

... See full list

File

core/includes/file.inc, line 78
API for handling file uploads and server file management.

Code

const FILE_EXISTS_ERROR = 2;