constant FILE_STATUS_PERMANENT

  1. 7.x drupal/includes/file.inc FILE_STATUS_PERMANENT
  2. 6.x drupal/includes/file.inc FILE_STATUS_PERMANENT
  3. 8.x drupal/core/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.

File

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

Code

define('FILE_STATUS_PERMANENT', 1)

Related topics