You are here

constant FILE_STATUS_PERMANENT in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/includes/file.inc \FILE_STATUS_PERMANENT

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

Temporary files older than the system.file.temporary_maximum_age configuration value will be, if clean-up not disabled, removed during cron runs, but permanent files will not be removed during the file garbage collection process.

Related topics

19 uses of FILE_STATUS_PERMANENT
ContentTranslationSyncImageTest::testImageFieldSync in core/modules/content_translation/src/Tests/ContentTranslationSyncImageTest.php
Tests image field field synchronization.
File::isPermanent in core/modules/file/src/Entity/File.php
Returns TRUE if the file is permanent.
File::setPermanent in core/modules/file/src/Entity/File.php
Sets the file status to permanent.
FileDenormalizeTest::testFileDenormalize in core/modules/hal/src/Tests/FileDenormalizeTest.php
Tests file entity denormalization.
FileListingTest::createFile in core/modules/file/src/Tests/FileListingTest.php
Creates and saves a test file.

... See full list

File

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

Code

const FILE_STATUS_PERMANENT = 1;