W3cubDocs

/Drupal 8

constant FILE_EXISTS_RENAME

Flag for dealing with existing files: Appends number until name is unique.

Related topics

File interface
Common file handling functions.

File

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

Code

const FILE_EXISTS_RENAME = 0;

© 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_RENAME/8.1.x