12 calls to file_move() in Drupal 9
- FileMoveTest::testNormal in core/
modules/ image/ tests/ src/ Functional/ FileMoveTest.php - Tests moving a randomly generated image.
- FileUploadForm::createMediaFromValue in core/
modules/ media_library/ src/ Form/ FileUploadForm.php - Creates a new, unsaved media item from a source field value.
- ImageItem::generateSampleValue in core/
modules/ image/ src/ Plugin/ Field/ FieldType/ ImageItem.php - Generates placeholder field values.
- image_field_config_update in core/
modules/ image/ image.module - Implements hook_ENTITY_TYPE_update() for 'field_config'.
- image_field_storage_config_update in core/
modules/ image/ image.module - Implements hook_ENTITY_TYPE_update() for 'field_storage_config'.
- MoveTest::testExistingError in core/
modules/ file/ tests/ src/ Kernel/ MoveTest.php - Tests that moving onto an existing file fails when instructed to do so.
- MoveTest::testExistingRename in core/
modules/ file/ tests/ src/ Kernel/ MoveTest.php - Tests renaming when moving onto a file that already exists.
- MoveTest::testExistingReplace in core/
modules/ file/ tests/ src/ Kernel/ MoveTest.php - Tests replacement when moving onto a file that already exists.
- MoveTest::testExistingReplaceSelf in core/
modules/ file/ tests/ src/ Kernel/ MoveTest.php - Tests replacement when moving onto itself.
- MoveTest::testNormal in core/
modules/ file/ tests/ src/ Kernel/ MoveTest.php - Move a normal file.
- SaveUploadFormTest::testHandleFileMunge in core/
modules/ file/ tests/ src/ Functional/ SaveUploadFormTest.php - Tests file munge handling.
- SaveUploadTest::testHandleFileMunge in core/
modules/ file/ tests/ src/ Functional/ SaveUploadTest.php - Tests file munge handling.