W3cubDocs

/Drupal 8

constant FILE_EXISTS_ERROR

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

Related topics

File interface
Common file handling functions.

File

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

Code

const FILE_EXISTS_ERROR = 2;

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!includes!file.inc/constant/FILE_EXISTS_ERROR/8.1.x