107 files declare their use of File

AccessTest.php in core/modules/file/tests/src/Kernel/AccessTest.php
CKEditorIntegrationTest.php in core/modules/media/tests/src/FunctionalJavascript/CKEditorIntegrationTest.php
CKEditorIntegrationTest.php in core/modules/media_library/tests/src/FunctionalJavascript/CKEditorIntegrationTest.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
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
FileFieldAnonymousSubmissionTest.php in core/modules/file/tests/src/Functional/FileFieldAnonymousSubmissionTest.php
FileFieldAttributesTest.php in core/modules/rdf/tests/src/Functional/FileFieldAttributesTest.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/src/Tests/FileFieldTestBase.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
FileItemTest.php in core/modules/file/tests/src/Kernel/FileItemTest.php
FileItemValidationTest.php in core/modules/file/tests/src/Kernel/FileItemValidationTest.php
FileLegacyTest.php in core/modules/file/tests/src/Kernel/FileLegacyTest.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/src/Tests/FileManagedTestBase.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/Functional/FileMoveTest.php
FileNormalizeTest.php in core/modules/hal/tests/src/Kernel/FileNormalizeTest.php
FileOnTranslatedEntityTest.php in core/modules/file/tests/src/Functional/FileOnTranslatedEntityTest.php
FilePrivateTest.php in core/modules/file/tests/src/Functional/FilePrivateTest.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
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
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
ImageFieldAttributesTest.php in core/modules/rdf/tests/src/Functional/ImageFieldAttributesTest.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
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
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
MediaHalJsonAnonTest.php in core/modules/media/tests/src/Functional/Hal/MediaHalJsonAnonTest.php
MediaKernelTestBase.php in core/modules/media/tests/src/Kernel/MediaKernelTestBase.php
MediaResourceTestBase.php in core/modules/media/tests/src/Functional/Rest/MediaResourceTestBase.php
MediaSourceAudioVideoTest.php in core/modules/media/tests/src/FunctionalJavascript/MediaSourceAudioVideoTest.php
MediaTest.php in core/modules/jsonapi/tests/src/Functional/MediaTest.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
MigrateUserPictureFileTest.php in core/modules/user/tests/src/Kernel/Migrate/d6/MigrateUserPictureFileTest.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
NumericFormatPluralTest.php in core/modules/views/tests/src/Functional/Plugin/NumericFormatPluralTest.php
PrivateFileOnTranslatedEntityTest.php in core/modules/file/tests/src/Functional/PrivateFileOnTranslatedEntityTest.php
QuickEditFileTest.php in core/modules/quickedit/tests/src/FunctionalJavascript/QuickEditFileTest.php
QuickEditImageTest.php in core/modules/image/tests/src/FunctionalJavascript/QuickEditImageTest.php
RelationshipNormalizerTest.php in core/modules/jsonapi/tests/src/Kernel/Normalizer/RelationshipNormalizerTest.php
RelationshipUserFileDataTest.php in core/modules/file/tests/src/Functional/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
SaveDataTest.php in core/modules/file/tests/src/Kernel/SaveDataTest.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
SpaceUsedTest.php in core/modules/file/tests/src/Kernel/SpaceUsedTest.php
StandardProfileTest.php in core/modules/rdf/tests/src/Functional/StandardProfileTest.php
TaxonomyImageTest.php in core/modules/taxonomy/tests/src/Functional/TaxonomyImageTest.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
ValidatorTest.php in core/modules/file/tests/src/Kernel/ValidatorTest.php

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