115 files declare their use of File
- AccessTest.php in core/
modules/ file/ tests/ src/ Kernel/ AccessTest.php - CKEditor5MarkupTest.php in core/
modules/ ckeditor5/ tests/ src/ FunctionalJavascript/ CKEditor5MarkupTest.php - CKEditor5Test.php in core/
modules/ ckeditor5/ tests/ src/ FunctionalJavascript/ CKEditor5Test.php - ContentEntityTest.php in core/
modules/ migrate_drupal/ tests/ src/ Kernel/ Plugin/ migrate/ source/ ContentEntityTest.php - ContentModerationTest.php in core/
modules/ media_library/ tests/ src/ FunctionalJavascript/ ContentModerationTest.php - ContentTranslationFieldSyncRevisionTest.php in core/
modules/ content_translation/ tests/ src/ Kernel/ ContentTranslationFieldSyncRevisionTest.php - ContentTranslationSyncImageTest.php in core/
modules/ content_translation/ tests/ src/ Functional/ ContentTranslationSyncImageTest.php - CopyTest.php in core/
modules/ file/ tests/ src/ Kernel/ CopyTest.php - DeleteTest.php in core/
modules/ file/ tests/ src/ Kernel/ DeleteTest.php - EditorFileReferenceFilterTest.php in core/
modules/ editor/ tests/ src/ Kernel/ EditorFileReferenceFilterTest.php - EditorFileUsageTest.php in core/
modules/ editor/ tests/ src/ Kernel/ EditorFileUsageTest.php - EditorPrivateFileReferenceFilterTest.php in core/
modules/ editor/ tests/ src/ Functional/ EditorPrivateFileReferenceFilterTest.php - EntityCrudHookTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityCrudHookTest.php - EntityReferenceItemTest.php in core/
modules/ field/ tests/ src/ Kernel/ EntityReference/ EntityReferenceItemTest.php - ExtensionViewsFieldTest.php in core/
modules/ file/ tests/ src/ Kernel/ Views/ ExtensionViewsFieldTest.php - Fast404Test.php in core/
tests/ Drupal/ FunctionalTests/ EventSubscriber/ Fast404Test.php - file.module in core/
modules/ file/ file.module - Defines a "managed_file" Form API field and a "file" field for Field module.
- FileAudioFormatterTest.php in core/
modules/ file/ tests/ src/ Functional/ Formatter/ FileAudioFormatterTest.php - FileEntityFormatterTest.php in core/
modules/ file/ tests/ src/ Kernel/ Formatter/ FileEntityFormatterTest.php - FileExtensionConstraintValidatorTest.php in core/
modules/ file/ tests/ src/ Kernel/ Plugin/ Validation/ Constraint/ FileExtensionConstraintValidatorTest.php - FileFieldAnonymousSubmissionTest.php in core/
modules/ file/ tests/ src/ Functional/ FileFieldAnonymousSubmissionTest.php - FileFieldDisplayTest.php in core/
modules/ file/ tests/ src/ Functional/ FileFieldDisplayTest.php - FileFieldPathTest.php in core/
modules/ file/ tests/ src/ Functional/ FileFieldPathTest.php - FileFieldRevisionTest.php in core/
modules/ file/ tests/ src/ Functional/ FileFieldRevisionTest.php - FileFieldRSSContentTest.php in core/
modules/ file/ tests/ src/ Functional/ FileFieldRSSContentTest.php - FileFieldTestBase.php in core/
modules/ file/ tests/ src/ Functional/ FileFieldTestBase.php - FileFieldValidateTest.php in core/
modules/ file/ tests/ src/ Functional/ FileFieldValidateTest.php - FileFieldWidgetTest.php in core/
modules/ file/ tests/ src/ FunctionalJavascript/ FileFieldWidgetTest.php - FileFieldWidgetTest.php in core/
modules/ file/ tests/ src/ Functional/ FileFieldWidgetTest.php - FileImageDimensionsConstraintValidatorTest.php in core/
modules/ file/ tests/ src/ Kernel/ Plugin/ Validation/ Constraint/ FileImageDimensionsConstraintValidatorTest.php - FileIsImageConstraintValidatorTest.php in core/
modules/ file/ tests/ src/ Kernel/ Plugin/ Validation/ Constraint/ FileIsImageConstraintValidatorTest.php - FileItemTest.php in core/
modules/ file/ tests/ src/ Kernel/ FileItemTest.php - FileItemValidationTest.php in core/
modules/ file/ tests/ src/ Kernel/ FileItemValidationTest.php - FileListingTest.php in core/
modules/ file/ tests/ src/ Functional/ FileListingTest.php - FileManagedAccessTest.php in core/
modules/ file/ tests/ src/ Kernel/ FileManagedAccessTest.php - FileManagedFileElementTest.php in core/
modules/ file/ tests/ src/ Functional/ FileManagedFileElementTest.php - FileManagedTestBase.php in core/
modules/ file/ tests/ src/ Functional/ FileManagedTestBase.php - FileManagedUnitTestBase.php in core/
modules/ file/ tests/ src/ Kernel/ FileManagedUnitTestBase.php - FileMigrationSetupTrait.php in core/
modules/ file/ tests/ src/ Kernel/ Migrate/ d7/ FileMigrationSetupTrait.php - FileMoveTest.php in core/
modules/ image/ tests/ src/ Kernel/ FileMoveTest.php - FileNameLengthConstraintValidatorTest.php in core/
modules/ file/ tests/ src/ Kernel/ Plugin/ Validation/ Constraint/ FileNameLengthConstraintValidatorTest.php - FileOnTranslatedEntityTest.php in core/
modules/ file/ tests/ src/ Functional/ FileOnTranslatedEntityTest.php - FilePrivateTest.php in core/
modules/ file/ tests/ src/ Functional/ FilePrivateTest.php - FileRepository.php in core/
modules/ file/ src/ FileRepository.php - FileRepositoryTest.php in core/
modules/ file/ tests/ src/ Kernel/ FileRepositoryTest.php - FileResourceTestBase.php in core/
modules/ file/ tests/ src/ Functional/ Rest/ FileResourceTestBase.php - FileTest.php in core/
modules/ jsonapi/ tests/ src/ Functional/ FileTest.php - FileTokenReplaceTest.php in core/
modules/ file/ tests/ src/ Functional/ FileTokenReplaceTest.php - FileUploadHandler.php in core/
modules/ file/ src/ Upload/ FileUploadHandler.php - FileUploadResource.php in core/
modules/ file/ src/ Plugin/ rest/ resource/ FileUploadResource.php - FileUploadResourceTestBase.php in core/
modules/ rest/ tests/ src/ Functional/ FileUploadResourceTestBase.php - FileUploadTest.php in core/
modules/ jsonapi/ tests/ src/ Functional/ FileUploadTest.php - FileUriItemTest.php in core/
modules/ file/ tests/ src/ Kernel/ FileUriItemTest.php - FileValidatorTestBase.php in core/
modules/ file/ tests/ src/ Kernel/ Validation/ FileValidatorTestBase.php - FileVideoFormatterTest.php in core/
modules/ file/ tests/ src/ Functional/ Formatter/ FileVideoFormatterTest.php - FileViewsFieldAccessTest.php in core/
modules/ file/ tests/ src/ Kernel/ Views/ FileViewsFieldAccessTest.php - FileWidget.php in core/
modules/ file/ src/ Plugin/ Field/ FieldWidget/ FileWidget.php - file_test.module in core/
modules/ file/ tests/ file_test/ file_test.module - Helper module for the file tests.
- ImageAdminStylesTest.php in core/
modules/ image/ tests/ src/ Functional/ ImageAdminStylesTest.php - ImageFieldDefaultImagesTest.php in core/
modules/ image/ tests/ src/ Functional/ ImageFieldDefaultImagesTest.php - ImageFormatterTest.php in core/
modules/ image/ tests/ src/ Kernel/ ImageFormatterTest.php - ImageItem.php in core/
modules/ image/ src/ Plugin/ Field/ FieldType/ ImageItem.php - ImageItemTest.php in core/
modules/ image/ tests/ src/ Kernel/ ImageItemTest.php - ImageOnTranslatedEntityTest.php in core/
modules/ image/ tests/ src/ Functional/ ImageOnTranslatedEntityTest.php - ImageStyleDownloadAccessControlTest.php in core/
modules/ image/ tests/ src/ Functional/ ImageStyleDownloadAccessControlTest.php - ImageTest.php in core/
modules/ ckeditor5/ tests/ src/ FunctionalJavascript/ ImageTest.php - ImageThemeFunctionTest.php in core/
modules/ image/ tests/ src/ Kernel/ ImageThemeFunctionTest.php - ImageWidget.php in core/
modules/ image/ src/ Plugin/ Field/ FieldWidget/ ImageWidget.php - InlineBlockPrivateFilesTest.php in core/
modules/ layout_builder/ tests/ src/ FunctionalJavascript/ InlineBlockPrivateFilesTest.php - JsonApiDocumentTopLevelNormalizerTest.php in core/
modules/ jsonapi/ tests/ src/ Kernel/ Normalizer/ JsonApiDocumentTopLevelNormalizerTest.php - JsonApiFunctionalTestBase.php in core/
modules/ jsonapi/ tests/ src/ Functional/ JsonApiFunctionalTestBase.php - LanguageUILanguageNegotiationTest.php in core/
modules/ language/ tests/ src/ Functional/ LanguageUILanguageNegotiationTest.php - LayoutBuilderDefaultValuesTest.php in core/
modules/ layout_builder/ tests/ src/ Functional/ LayoutBuilderDefaultValuesTest.php - LegacyValidatorTest.php in core/
modules/ file/ tests/ src/ Kernel/ LegacyValidatorTest.php - LoadTest.php in core/
modules/ file/ tests/ src/ Kernel/ LoadTest.php - LocaleUpdateBase.php in core/
modules/ locale/ tests/ src/ Functional/ LocaleUpdateBase.php - MailTest.php in core/
modules/ system/ tests/ src/ Kernel/ Mail/ MailTest.php - ManagedFile.php in core/
modules/ file/ src/ Element/ ManagedFile.php - MediaEmbedFilterTestBase.php in core/
modules/ media/ tests/ src/ Kernel/ MediaEmbedFilterTestBase.php - MediaEntityMetadataApiTest.php in core/
modules/ ckeditor5/ tests/ src/ Functional/ MediaEntityMetadataApiTest.php - MediaKernelTestBase.php in core/
modules/ media/ tests/ src/ Kernel/ MediaKernelTestBase.php - MediaLibraryTest.php in core/
modules/ ckeditor5/ tests/ src/ FunctionalJavascript/ MediaLibraryTest.php - MediaOverviewPageTest.php in core/
modules/ media/ tests/ src/ Functional/ MediaOverviewPageTest.php - MediaResourceTestBase.php in core/
modules/ media/ tests/ src/ Functional/ Rest/ MediaResourceTestBase.php - MediaSourceAudioVideoTest.php in core/
modules/ media/ tests/ src/ FunctionalJavascript/ MediaSourceAudioVideoTest.php - MediaSourceImageTest.php in core/
modules/ media/ tests/ src/ Functional/ MediaSourceImageTest.php - MediaTest.php in core/
modules/ jsonapi/ tests/ src/ Functional/ MediaTest.php - MediaTestBase.php in core/
modules/ ckeditor5/ tests/ src/ FunctionalJavascript/ MediaTestBase.php - MediaThumbnailFormatterTest.php in core/
modules/ media/ tests/ src/ Functional/ FieldFormatter/ MediaThumbnailFormatterTest.php - MigrateFileTest.php in core/
modules/ file/ tests/ src/ Kernel/ Migrate/ d6/ MigrateFileTest.php - MigrateFileTest.php in core/
modules/ file/ tests/ src/ Kernel/ Migrate/ d7/ MigrateFileTest.php - MigrateUploadTest.php in core/
modules/ file/ tests/ src/ Kernel/ Migrate/ d6/ MigrateUploadTest.php - MigrateUserPictureD6FileTest.php in core/
modules/ user/ tests/ src/ Kernel/ Migrate/ d6/ MigrateUserPictureD6FileTest.php - MigrateUserTest.php in core/
modules/ user/ tests/ src/ Kernel/ Migrate/ d6/ MigrateUserTest.php - MoveTest.php in core/
modules/ file/ tests/ src/ Kernel/ MoveTest.php - NavigationRenderer.php in core/
modules/ navigation/ src/ NavigationRenderer.php - NumericFormatPluralTest.php in core/
modules/ views/ tests/ src/ Functional/ Plugin/ NumericFormatPluralTest.php - PrivateFileOnTranslatedEntityTest.php in core/
modules/ file/ tests/ src/ Functional/ PrivateFileOnTranslatedEntityTest.php - RelationshipNodeFileDataTest.php in core/
modules/ file/ tests/ src/ Kernel/ Views/ RelationshipNodeFileDataTest.php - RelationshipNormalizerTest.php in core/
modules/ jsonapi/ tests/ src/ Kernel/ Normalizer/ RelationshipNormalizerTest.php - RelationshipUserFileDataTest.php in core/
modules/ file/ tests/ src/ Kernel/ Views/ RelationshipUserFileDataTest.php - RelationshipUserImageDataTest.php in core/
modules/ image/ tests/ src/ Kernel/ Views/ RelationshipUserImageDataTest.php - ResponsiveImageFieldDisplayTest.php in core/
modules/ responsive_image/ tests/ src/ Functional/ ResponsiveImageFieldDisplayTest.php - SaveTest.php in core/
modules/ file/ tests/ src/ Kernel/ SaveTest.php - SaveUploadFormTest.php in core/
modules/ file/ tests/ src/ Functional/ SaveUploadFormTest.php - SaveUploadTest.php in core/
modules/ file/ tests/ src/ Functional/ SaveUploadTest.php - SettingsForm.php in core/
modules/ navigation/ src/ Form/ SettingsForm.php - SpaceUsedTest.php in core/
modules/ file/ tests/ src/ Kernel/ SpaceUsedTest.php - TemporaryJsonapiFileFieldUploader.php in core/
modules/ jsonapi/ src/ Controller/ TemporaryJsonapiFileFieldUploader.php - test_theme_theme.theme in core/
modules/ system/ tests/ themes/ test_theme_theme/ test_theme_theme.theme - Test to ensure theme compatibility with managed files.
- theme-settings.php in core/
modules/ system/ tests/ themes/ test_theme_settings/ theme-settings.php - Test to ensure theme compatibility with managed files.
- ThemeSettingsFormTest.php in core/
modules/ system/ tests/ src/ FunctionalJavascript/ ThemeSettingsFormTest.php - TranslationsTest.php in core/
modules/ media_library/ tests/ src/ FunctionalJavascript/ TranslationsTest.php - TypedDataTest.php in core/
tests/ Drupal/ KernelTests/ Core/ TypedData/ TypedDataTest.php - UserPictureTest.php in core/
modules/ user/ tests/ src/ Functional/ UserPictureTest.php
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.