Skip navigation
Help

FILE_STATUS_PERMANENT

  1. drupal
    1. 6 drupal/includes/file.inc
    2. 7 drupal/includes/file.inc

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.

File

drupal/includes/file.inc, line 70
API for handling file uploads and server file management.

Code

define('FILE_STATUS_PERMANENT', 1)

Related topics