W3cubDocs

/Drupal 8

constant FILE_EXISTS_REPLACE

Flag for dealing with existing files: Replace the existing file.

Related topics

File interface
Common file handling functions.

File

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

Code

const FILE_EXISTS_REPLACE = 1;

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