FileSystemInterface::EXISTS_ERROR

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/File/FileSystemInterface.php \Drupal\Core\File\FileSystemInterface::EXISTS_ERROR
  2. 8.9.x core/lib/Drupal/Core/File/FileSystemInterface.php \Drupal\Core\File\FileSystemInterface::EXISTS_ERROR
  3. 11.x core/lib/Drupal/Core/File/FileSystemInterface.php \Drupal\Core\File\FileSystemInterface::EXISTS_ERROR

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

Deprecated

in drupal:10.3.0 and is removed from drupal:12.0.0. Use \Drupal\Core\File\FileExists::Error instead.

See also

https://www.drupal.org/node/3426517

File

core/lib/Drupal/Core/File/FileSystemInterface.php, line 38

Class

FileSystemInterface
Provides an interface for helpers that operate on files and stream wrappers.

Namespace

Drupal\Core\File

Code

const EXISTS_ERROR = 2;

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