Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 7.x
»
file.inc
»
file_save
Search Drupal 7.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 7.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
13 calls to file_save()
EntityCrudHookTestCase::testFileHooks
in drupal/
modules/
simpletest/
tests/
entity_crud_hook_test.test
Tests hook invocations for CRUD operations on files.
FileFieldTestCase::createTemporaryFile
in drupal/
modules/
file/
tests/
file.test
Creates a temporary file, for a specific user.
FileSaveTest::testFileSave
in drupal/
modules/
simpletest/
tests/
file.test
file_copy
in drupal/
includes/
file.inc
Copies a file to a new location and adds a file record to the database.
file_field_presave
in drupal/
modules/
file/
file.field.inc
Implements
hook_field_presave
().
file_move
in drupal/
includes/
file.inc
Moves a file to a new location and update the file's database entry.
file_save_data
in drupal/
includes/
file.inc
Saves a file to the specified destination and creates a database entry.
file_save_upload
in drupal/
includes/
file.inc
Saves a file upload to a new location.
ImageFieldDefaultImagesTestCase::testDefaultImages
in drupal/
modules/
image/
image.test
Tests CRUD for fields and fields instances with default images.
image_field_update_field
in drupal/
modules/
image/
image.module
Implements
hook_field_update_field
().
image_field_update_instance
in drupal/
modules/
image/
image.module
Implements
hook_field_update_instance
().
user_save
in drupal/
modules/
user/
user.module
Save changes to a user account or add a new user.
user_update_7012
in drupal/
modules/
user/
user.install
Add the user's pictures to the {file_managed} table and make them managed files.