FILE_EXISTS_ERROR

Same name in other branches
  1. 7.x 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

Code

const FILE_EXISTS_ERROR = FileSystemInterface::EXISTS_ERROR;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.