22 uses of FILE_EXISTS_REPLACE
- drupal_build_css_cache in includes/common.inc 
- Aggregates and optimizes CSS files into a cache file in the files directory.
- drupal_build_js_cache in includes/common.inc 
- Aggregates JavaScript files into a cache file in the files directory.
- FileCopyTest::testExistingReplace in modules/simpletest/ tests/ file.test 
- Test replacement when copying over a file that already exists.
- FileDirectoryTest::testFileDestination in modules/simpletest/ tests/ file.test 
- This will test the filepath for a destination based on passed flags and whether or not the file exists.
- FileMoveTest::testExistingReplace in modules/simpletest/ tests/ file.test 
- Test replacement when moving onto a file that already exists.
- FileMoveTest::testExistingReplaceSelf in modules/simpletest/ tests/ file.test 
- Test replacement when moving onto itself.
- FileSaveDataTest::testExistingReplace in modules/simpletest/ tests/ file.test 
- Test file_save_data() when replacing an existing file.
- FileSaveUploadTest::setUp in modules/simpletest/ tests/ file.test 
- Sets up a Drupal site for running functional and integration tests.
- FileSaveUploadTest::testExistingReplace in modules/simpletest/ tests/ file.test 
- Test replacement when uploading over a file that already exists.
- FileSaveUploadTest::testHandleDangerousFile in modules/simpletest/ tests/ file.test 
- Test dangerous file handling.
- FileSaveUploadTest::testHandleExtension in modules/simpletest/ tests/ file.test 
- Test extension handling.
- FileUnmanagedMoveTest::testOverwriteSelf in modules/simpletest/ tests/ file.test 
- Try to move a file onto itself.
- FileUnmanagedSaveDataTest::testFileSaveData in modules/simpletest/ tests/ file.test 
- Test the file_unmanaged_save_data() function.
- file_copy in includes/file.inc 
- Copies a file to a new location and adds a file record to the database.
- file_destination in includes/file.inc 
- Determines the destination path for a file.
- file_move in includes/file.inc 
- Moves a file to a new location and update the file's database entry.
- file_save_data in includes/file.inc 
- Saves a file to the specified destination and creates a database entry.
- file_save_upload in includes/file.inc 
- Saves a file upload to a new location.
- image_gd_save in modules/system/ image.gd.inc 
- GD helper to write an image resource to a destination file.
- update_manager_file_get in modules/update/ update.manager.inc 
- Copies a file from the specified URL to the temporary directory for updates.
- update_manager_install_form_submit in modules/update/ update.manager.inc 
- Form submission handler for update_manager_install_form().
- _color_save_stylesheet in modules/color/ color.module 
- Saves the rewritten stylesheet to disk.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
