17 uses of FILE_STATUS_PERMANENT

FileFieldTestBase::assertFileIsPermanent in drupal/core/modules/file/lib/Drupal/file/Tests/FileFieldTestBase.php
Asserts that a file's status is set to permanent in the database.
FileStorageController::retrieveTemporaryFiles in drupal/core/modules/file/lib/Drupal/file/FileStorageController.php
Retrieve temporary files that are older than DRUPAL_MAXIMUM_TEMP_FILE_AGE.
FileUsageBase::add in drupal/core/modules/file/lib/Drupal/file/FileUsage/FileUsageBase.php
Implements Drupal\file\FileUsage\FileUsageInterface::add().
file_file_download in drupal/core/modules/file/file.module
Implements hook_file_download().
file_managed_file_validate in drupal/core/modules/file/file.module
Render API callback: Validates the managed_file element.
file_save_data in drupal/core/modules/file/file.module
Saves a file to the specified destination and creates a database entry.
ImageFieldDisplayTest::testImageFieldDefaultImage in drupal/core/modules/image/lib/Drupal/image/Tests/ImageFieldDisplayTest.php
Test use of a default image with an image field.
image_field_update_field in drupal/core/modules/image/image.module
Implements hook_field_update_field().
image_field_update_instance in drupal/core/modules/image/image.module
Implements hook_field_update_instance().
LocaleCompareTest::makePoFile in drupal/core/modules/locale/lib/Drupal/locale/Tests/LocaleCompareTest.php
Creates a translation file and tests its timestamp.
SaveDataTest::testExistingRename in drupal/core/modules/file/lib/Drupal/file/Tests/SaveDataTest.php
Test file_save_data() when renaming around an existing file.
SaveDataTest::testExistingReplace in drupal/core/modules/file/lib/Drupal/file/Tests/SaveDataTest.php
Test file_save_data() when replacing an existing file.
SaveDataTest::testWithFilename in drupal/core/modules/file/lib/Drupal/file/Tests/SaveDataTest.php
Test the file_save_data() function when a filename is provided.
SaveDataTest::testWithoutFilename in drupal/core/modules/file/lib/Drupal/file/Tests/SaveDataTest.php
Test the file_save_data() function when no filename is provided.
SaveTest::testFileSave in drupal/core/modules/file/lib/Drupal/file/Tests/SaveTest.php
SpaceUsedTest::setUp in drupal/core/modules/file/lib/Drupal/file/Tests/SpaceUsedTest.php
Sets up a Drupal site for running functional and integration tests.
SpaceUsedTest::testFileSpaceUsed in drupal/core/modules/file/lib/Drupal/file/Tests/SpaceUsedTest.php
Test different users with the default status.