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_load
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
39 calls to file_load()
EntityCrudHookTestCase::testFileHooks
in drupal/
modules/
simpletest/
tests/
entity_crud_hook_test.test
Tests hook invocations for CRUD operations on files.
FileCopyTest::testExistingError
in drupal/
modules/
simpletest/
tests/
file.test
Test that copying over an existing file fails when
FILE_EXISTS_ERROR
is specified.
FileCopyTest::testExistingRename
in drupal/
modules/
simpletest/
tests/
file.test
Test renaming when copying over a file that already exists.
FileCopyTest::testExistingReplace
in drupal/
modules/
simpletest/
tests/
file.test
Test replacement when copying over a file that already exists.
FileCopyTest::testNormal
in drupal/
modules/
simpletest/
tests/
file.test
Test file copying in the normal, base case.
FileDeleteTest::testInUse
in drupal/
modules/
simpletest/
tests/
file.test
Tries deleting a file that is in use.
FileDeleteTest::testUnused
in drupal/
modules/
simpletest/
tests/
file.test
Tries deleting a normal file (as opposed to a directory, symlink, etc).
FileFieldTestCase::assertFileEntryExists
in drupal/
modules/
file/
tests/
file.test
Asserts that a file exists in the database.
FileFieldTestCase::assertFileEntryNotExists
in drupal/
modules/
file/
tests/
file.test
Asserts that a file does not exist in the database.
FileFieldWidgetTestCase::doTestTemporaryFileRemovalExploit
in drupal/
modules/
file/
tests/
file.test
Helper for testing exploiting the temporary file removal using fid.
FileLoadTest::testLoadMissingFid
in drupal/
modules/
simpletest/
tests/
file.test
Try to load a non-existent file by fid.
FileLoadTest::testSingleValues
in drupal/
modules/
simpletest/
tests/
file.test
Load a single file and ensure that the correct values are returned.
FileMoveTest::testExistingError
in drupal/
modules/
simpletest/
tests/
file.test
Test that moving onto an existing file fails when
FILE_EXISTS_ERROR
is specified.
FileMoveTest::testExistingRename
in drupal/
modules/
simpletest/
tests/
file.test
Test renaming when moving onto a file that already exists.
FileMoveTest::testExistingReplace
in drupal/
modules/
simpletest/
tests/
file.test
Test replacement when moving onto a file that already exists.
FileMoveTest::testExistingReplaceSelf
in drupal/
modules/
simpletest/
tests/
file.test
Test replacement when moving onto itself.
FileMoveTest::testNormal
in drupal/
modules/
simpletest/
tests/
file.test
Move a normal file.
FilePrivateTestCase::testPrivateFile
in drupal/
modules/
file/
tests/
file.test
Tests file access for file uploaded to a private node.
FileSaveDataTest::testExistingError
in drupal/
modules/
simpletest/
tests/
file.test
Test that
file_save_data
() fails overwriting an existing file.
FileSaveDataTest::testExistingRename
in drupal/
modules/
simpletest/
tests/
file.test
Test
file_save_data
() when renaming around an existing file.
FileSaveDataTest::testExistingReplace
in drupal/
modules/
simpletest/
tests/
file.test
Test
file_save_data
() when replacing an existing file.
FileSaveDataTest::testWithFilename
in drupal/
modules/
simpletest/
tests/
file.test
Test the
file_save_data
() function when a filename is provided.
FileSaveDataTest::testWithoutFilename
in drupal/
modules/
simpletest/
tests/
file.test
Test the
file_save_data
() function when no filename is provided.
FileSaveUploadTest::testNormal
in drupal/
modules/
simpletest/
tests/
file.test
Test the
file_save_upload
() function.
FileTokenReplaceTestCase::testFileTokenReplacement
in drupal/
modules/
file/
tests/
file.test
Creates a file, then tests the tokens generated from it.
file_field_presave
in drupal/
modules/
file/
file.field.inc
Implements
hook_field_presave
().
file_managed_file_process
in drupal/
modules/
file/
file.module
Process function to expand the managed_file element type.
file_managed_file_validate
in drupal/
modules/
file/
file.module
An #element_validate callback for the managed_file element.
file_managed_file_value
in drupal/
modules/
file/
file.module
The #value_callback for a managed_file type element.
hook_field_prepare_view
in drupal/
modules/
field/
field.api.php
Prepare field values prior to display.
ImageFieldDisplayTestCase::testImageFieldDefaultImage
in drupal/
modules/
image/
image.test
Test use of a default image with an image field.
image_field_delete_field
in drupal/
modules/
image/
image.module
Implements
hook_field_delete_field
().
image_field_delete_instance
in drupal/
modules/
image/
image.module
Implements
hook_field_delete_instance
().
image_field_prepare_view
in drupal/
modules/
image/
image.field.inc
Implements
hook_field_prepare_view
().
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
().
system_cron
in drupal/
modules/
system/
system.module
Implements
hook_cron
().
template_preprocess_user_picture
in drupal/
modules/
user/
user.module
Process variables for
user-picture.tpl.php
.
UserPictureTestCase::testDeletePicture
in drupal/
modules/
user/
user.test
Tests deletion of user pictures.