You are here

constant FILE_EXISTS_ERROR in Drupal 8

Same name and namespace in other branches
  1. 4 includes/file.inc \FILE_EXISTS_ERROR
  2. 5 includes/file.inc \FILE_EXISTS_ERROR
  3. 6 includes/file.inc \FILE_EXISTS_ERROR
  4. 7 includes/file.inc \FILE_EXISTS_ERROR

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

Deprecated

in drupal:8.7.0 and is removed from drupal:9.0.0. Use \Drupal\Core\File\FileSystemInterface::EXISTS_ERROR.

Related topics

File

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

Code

const FILE_EXISTS_ERROR = FileSystemInterface::EXISTS_ERROR;