constant FILE_EXISTS_RENAME in Drupal 8
Same name and namespace in other branches
- 4 includes/file.inc \FILE_EXISTS_RENAME
- 5 includes/file.inc \FILE_EXISTS_RENAME
- 6 includes/file.inc \FILE_EXISTS_RENAME
- 7 includes/file.inc \FILE_EXISTS_RENAME
Flag for dealing with existing files: Appends number until name is unique.
Deprecated
in drupal:8.7.0 and is removed from drupal:9.0.0. Use \Drupal\Core\File\FileSystemInterface::EXISTS_RENAME.
Related topics
File
- core/
includes/ file.inc, line 68 - API for handling file uploads and server file management.
Code
const FILE_EXISTS_RENAME = FileSystemInterface::EXISTS_RENAME;