FileSystemInterface::EXISTS_RENAME

Same name in other branches
  1. 9 core/lib/Drupal/Core/File/FileSystemInterface.php \Drupal\Core\File\FileSystemInterface::EXISTS_RENAME
  2. 10 core/lib/Drupal/Core/File/FileSystemInterface.php \Drupal\Core\File\FileSystemInterface::EXISTS_RENAME
  3. 11.x core/lib/Drupal/Core/File/FileSystemInterface.php \Drupal\Core\File\FileSystemInterface::EXISTS_RENAME

Flag for dealing with existing files: Appends number until name is unique.

File

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

Class

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

Namespace

Drupal\Core\File

Code

const EXISTS_RENAME = 0;

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