constant FILE_STATUS_PERMANENT
- 7.x drupal-7.x/includes/file.inc FILE_STATUS_PERMANENT
- 6.x drupal-6.x/includes/file.inc FILE_STATUS_PERMANENT
Indicates that the file is permanent and should not be deleted.
Temporary files older than DRUPAL_MAXIMUM_TEMP_FILE_AGE will be removed during cron runs, but permanent files will not be removed during the file garbage collection process.
Related topics
19 uses of FILE_STATUS_PERMANENT
- FileFieldTestCase::assertFileIsPermanent in drupal-7.x/
modules/ file/ tests/ file.test - Asserts that a file's status is set to permanent in the database.
- FileSaveDataTest::testExistingRename in drupal-7.x/
modules/ simpletest/ tests/ file.test - Test file_save_data() when renaming around an existing file.
- FileSaveDataTest::testExistingReplace in drupal-7.x/
modules/ simpletest/ tests/ file.test - Test file_save_data() when replacing an existing file.
- FileSaveDataTest::testWithFilename in drupal-7.x/
modules/ simpletest/ tests/ file.test - Test the file_save_data() function when a filename is provided.
- FileSaveDataTest::testWithoutFilename in drupal-7.x/
modules/ simpletest/ tests/ file.test - Test the file_save_data() function when no filename is provided.
File
- drupal-7.x/
includes/ file.inc, line 70 - API for handling file uploads and server file management.
Code
define('FILE_STATUS_PERMANENT', 1)