You are here

constant FileInterface::STATUS_PERMANENT in Drupal 9

Indicates that the file is permanent and should not be deleted.

Temporary files older than the system.file.temporary_maximum_age will be removed during cron runs if cleanup is not disabled. (Permanent files will not be removed during the file garbage collection process.)

File

core/modules/file/src/FileInterface.php, line 23

Class

FileInterface
Defines getter and setter methods for file entity base fields.

Namespace

Drupal\file

Code

const STATUS_PERMANENT = 1;