constant 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

File

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

Code

define('FILE_STATUS_PERMANENT', 1)

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!file.inc/constant/FILE_STATUS_PERMANENT/7.x