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_STATUS_PERMANENT
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
22 uses of FILE_STATUS_PERMANENT
FileFieldTestCase::assertFileIsPermanent
in drupal/
modules/
file/
tests/
file.test
Asserts that a file's status is set to permanent in the database.
FileFieldWidgetTestCase::doTestTemporaryFileRemovalExploit
in drupal/
modules/
file/
tests/
file.test
Helper for testing exploiting the temporary file removal using fid.
FilePrivateTestCase::testPrivateFile
in drupal/
modules/
file/
tests/
file.test
Tests file access for file uploaded to a private node.
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.
FileSaveTest::testFileSave
in drupal/
modules/
simpletest/
tests/
file.test
FileSpaceUsedTest::setUp
in drupal/
modules/
simpletest/
tests/
file.test
Sets up a Drupal site for running functional and integration tests.
FileSpaceUsedTest::testFileSpaceUsed
in drupal/
modules/
simpletest/
tests/
file.test
Test different users with the default status.
file_field_presave
in drupal/
modules/
file/
file.field.inc
Implements
hook_field_presave
().
file_file_download
in drupal/
modules/
file/
file.module
Implements
hook_file_download
().
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.
file_save_data
in drupal/
includes/
file.inc
Saves a file to the specified destination and creates a database entry.
ImageFieldDisplayTestCase::testImageFieldDefaultImage
in drupal/
modules/
image/
image.test
Test use of a default image with an image field.
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
().
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.