You are here

25 uses of FILE_EXISTS_REPLACE in Zircon Profile 8

AssetDumper::dump in core/lib/Drupal/Core/Asset/AssetDumper.php
The file name for the CSS or JS cache file is generated from the hash of the aggregated contents of the files in $data. This forces proxies and browsers to download new CSS when the CSS changes.
CopyTest::testExistingReplace in core/modules/file/src/Tests/CopyTest.php
Test replacement when copying over a file that already exists.
DirectoryTest::testFileDestination in core/modules/system/src/Tests/File/DirectoryTest.php
This will test the filepath for a destination based on passed flags and whether or not the file exists.
EntityFile::getOverwriteMode in core/modules/file/src/Plugin/migrate/destination/EntityFile.php
Determines how to handle file conflicts.
EntityFileTest::testGetOverwriteMode in core/modules/file/src/Tests/Migrate/EntityFileTest.php
Tests various invocations of the getOverwriteMode() method.
file_copy in core/modules/file/file.module
Copies a file to a new location and adds a file record to the database.
file_destination in core/includes/file.inc
Determines the destination path for a file.
file_move in core/modules/file/file.module
Moves a file to a new location and update the file's database entry.
file_save_data in core/modules/file/file.module
Saves a file to the specified destination and creates a database entry.
file_save_upload in core/modules/file/file.module
Saves file uploads to a new location.
GDToolkit::save in core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php
Writes an image resource to a destination file.
LocaleExportTest::setUp in core/modules/locale/src/Tests/LocaleExportTest.php
Sets up a Drupal site for running functional and integration tests.
LocaleImportFunctionalTest::setUp in core/modules/locale/src/Tests/LocaleImportFunctionalTest.php
Sets up a Drupal site for running functional and integration tests.
MoveTest::testExistingReplace in core/modules/file/src/Tests/MoveTest.php
Test replacement when moving onto a file that already exists.
MoveTest::testExistingReplaceSelf in core/modules/file/src/Tests/MoveTest.php
Test replacement when moving onto itself.
SaveDataTest::testExistingReplace in core/modules/file/src/Tests/SaveDataTest.php
Test file_save_data() when replacing an existing file.
SaveUploadTest::setUp in core/modules/file/src/Tests/SaveUploadTest.php
Sets up a Drupal site for running functional and integration tests.
SaveUploadTest::testExistingReplace in core/modules/file/src/Tests/SaveUploadTest.php
Test replacement when uploading over a file that already exists.
SaveUploadTest::testHandleDangerousFile in core/modules/file/src/Tests/SaveUploadTest.php
Test dangerous file handling.
SaveUploadTest::testHandleExtension in core/modules/file/src/Tests/SaveUploadTest.php
Test extension handling.
UnmanagedMoveTest::testOverwriteSelf in core/modules/system/src/Tests/File/UnmanagedMoveTest.php
Try to move a file onto itself.
UnmanagedSaveDataTest::testFileSaveData in core/modules/system/src/Tests/File/UnmanagedSaveDataTest.php
Test the file_unmanaged_save_data() function.
UpdateManagerInstall::submitForm in core/modules/update/src/Form/UpdateManagerInstall.php
Form submission handler.
update_manager_file_get in core/modules/update/update.manager.inc
Copies a file from the specified URL to the temporary directory for updates.
_color_save_stylesheet in core/modules/color/color.module
Saves the rewritten stylesheet to disk.