FileInterface::STATUS_PERMANENT

Same name and namespace in other branches
  1. 9 core/modules/file/src/FileInterface.php \Drupal\file\FileInterface::STATUS_PERMANENT
  2. 10 core/modules/file/src/FileInterface.php \Drupal\file\FileInterface::STATUS_PERMANENT

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;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.