12 calls to file_move() in Drupal 8
- 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 - Test that moving onto an existing file fails when instructed to do so.
- MoveTest::testExistingRename in core/
modules/ file/ tests/ src/ Kernel/ MoveTest.php - Test renaming when moving onto a file that already exists.
- MoveTest::testExistingReplace in core/
modules/ file/ tests/ src/ Kernel/ MoveTest.php - Test replacement when moving onto a file that already exists.
- MoveTest::testExistingReplaceSelf in core/
modules/ file/ tests/ src/ Kernel/ MoveTest.php - Test 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 - Test file munge handling.