23 uses of FILE_STATUS_PERMANENT in Drupal 8
- AccessTest::testFileCacheability in core/
modules/ file/ tests/ src/ Kernel/ AccessTest.php - Tests cacheability metadata.
- ContentTranslationSyncImageTest::testImageFieldSync in core/
modules/ content_translation/ tests/ src/ Functional/ 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.
- FileListingTest::createFile in core/
modules/ file/ tests/ src/ Functional/ FileListingTest.php - Creates and saves a test file.
- FileManagedAccessTest::testFileAccess in core/
modules/ file/ tests/ src/ Kernel/ FileManagedAccessTest.php - Tests if public file is always accessible.
- FileNormalizeTest::testNormalize in core/
modules/ hal/ tests/ src/ Kernel/ FileNormalizeTest.php - Tests the normalize function.
- FileResourceTestBase::createEntity in core/
modules/ file/ tests/ src/ Functional/ Rest/ FileResourceTestBase.php - Creates the entity to be tested.
- FileTest::createEntity in core/
modules/ jsonapi/ tests/ src/ Functional/ FileTest.php - Creates the entity to be tested.
- FileUriItemTest::testCustomFileUriField in core/
modules/ file/ tests/ src/ Kernel/ FileUriItemTest.php - Tests the file entity override of the URI field.
- file_save_data in core/
modules/ file/ file.module - Saves a file to the specified destination and creates a database entry.
- image_field_config_update in core/
modules/ image/ image.module - Implements hook_ENTITY_TYPE_update() for 'field_config'.
- image_field_storage_config_update in core/
modules/ image/ image.module - Implements hook_ENTITY_TYPE_update() for 'field_storage_config'.
- InlineBlockPrivateFilesTest::createPrivateFile in core/
modules/ layout_builder/ tests/ src/ FunctionalJavascript/ InlineBlockPrivateFilesTest.php - Creates a private file.
- LocaleUpdateBase::makePoFile in core/
modules/ locale/ tests/ src/ Functional/ LocaleUpdateBase.php - Creates a translation file and tests its timestamp.
- MigrateUploadTest::setUp in core/
modules/ file/ tests/ src/ Kernel/ Migrate/ d6/ MigrateUploadTest.php - MigrateUserTest::setUp in core/
modules/ user/ tests/ src/ Kernel/ Migrate/ d6/ MigrateUserTest.php - NumericFormatPluralTest::createFile in core/
modules/ views/ tests/ src/ Functional/ Plugin/ NumericFormatPluralTest.php - Creates and saves a test file.
- QuickEditImageTest::testImageInPlaceEditor in core/
modules/ image/ tests/ src/ FunctionalJavascript/ QuickEditImageTest.php - Test that quick editor works correctly with images.
- RelationshipUserFileDataTest::testViewsHandlerRelationshipUserFileData in core/
modules/ file/ tests/ src/ Functional/ Views/ RelationshipUserFileDataTest.php - Tests using the views file relationship.
- RelationshipUserImageDataTest::testViewsHandlerRelationshipUserImageData in core/
modules/ image/ tests/ src/ Kernel/ Views/ RelationshipUserImageDataTest.php - Tests using the views image relationship.
- SaveTest::testFileSave in core/
modules/ file/ tests/ src/ Kernel/ SaveTest.php - SpaceUsedTest::testFileSpaceUsed in core/
modules/ file/ tests/ src/ Kernel/ SpaceUsedTest.php - Test different users with the default status.