file_add_form_submit in modules/file/file.pages.inc
Submit handler for the add file form.
file_copy in includes/file.inc
Copies a file to a new location and adds a file record to the database.
FileCopyTest::testExistingRename in modules/simpletest/tests/file.test
Test renaming when copying over a file that already exists.
file_destination in includes/file.inc
Determines the destination path for a file.
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.
file_manage_form_submit in modules/file/file.pages.inc
Form submission handler for the 'Save' button for file_manage_form().
file_move in includes/file.inc
Moves a file to a new location and update the file's database entry.
FileMoveTest::testExistingRename in modules/simpletest/tests/file.test
Test renaming when moving onto a file that already exists.
file_save_data in includes/file.inc
Saves a file to the specified destination and creates a database entry.
FileSaveDataTest::testExistingRename in modules/simpletest/tests/file.test
Test file_save_data() when renaming around an existing file.
file_save_upload in includes/file.inc
Saves a file upload to a new location.
FileSaveUploadTest::testExistingRename in modules/simpletest/tests/file.test
Test renaming when uploading over a file that already exists.
_file_test_form in modules/simpletest/tests/file_test.module
Form to test file uploads.
file_unmanaged_copy in includes/file.inc
Copies a file to a new location without database changes or hook invocation.
FileUnmanagedCopyTest::testNormal in modules/simpletest/tests/file.test
Copy a normal file.
FileUnmanagedCopyTest::testOverwriteSelf in modules/simpletest/tests/file.test
Copy a file onto itself.
file_unmanaged_move in includes/file.inc
Moves a file to a new location without database changes or hook invocation. This is a powerful function that in many ways performs like an advanced version of rename().
FileUnmanagedMoveTest::testNormal in modules/simpletest/tests/file.test
Move a normal file.
FileUnmanagedMoveTest::testOverwriteSelf in modules/simpletest/tests/file.test
Try to move a file onto itself.
file_unmanaged_prepare in includes/file.inc
Internal function that prepares the destination for a file_unmanaged_copy or file_unmanaged_move operation.
file_unmanaged_save_data in includes/file.inc
Saves a file to the specified destination without invoking file API.
FileUploadTransliterationTest::testTransliteration in modules/simpletest/tests/file.test
ImageDimensionsUnitTest::testImageDimensions in modules/image/tests/image.test
Test styled image dimensions cumulatively.
ImageStyleFloodProtection::testFloodProtection in modules/image/tests/image.test
Check the number of images that can be generated simultaneously.
ImageStylesPathAndUrlUnitTest::_testImageStyleUrlAndPath in modules/image/tests/image.test
Test image_style_url().
ImageThemeFunctionWebTestCase::testImageFormatterTheme in modules/image/tests/image.test
Tests usage of the image field formatters.
system_retrieve_file in modules/system/system.module
Attempts to get a file using backdrop_http_request and to store it locally.
system_transliteration_retroactive_submit in modules/system/system.admin.inc
Form submit function; retroactively transliterates existing file names.
UserStorageController::preSave in modules/user/user.entity.inc
Overrides EntityDatabaseStorageController::preSave().