29 files declare their use of EntityViewMode

CKEditor5AllowedTagsTest.php in core/modules/ckeditor5/tests/src/FunctionalJavascript/CKEditor5AllowedTagsTest.php
comment.module in core/modules/comment/comment.module
Enables users to comment on published content.
CommentIntegrationTest.php in core/modules/comment/tests/src/Kernel/CommentIntegrationTest.php
CommentInterfaceTest.php in core/modules/comment/tests/src/Functional/CommentInterfaceTest.php
DisplayApiTest.php in core/modules/field/tests/src/Kernel/DisplayApiTest.php
DisplayModeUpdateTest.php in core/modules/field/tests/src/Kernel/DisplayModeUpdateTest.php
EntityDisplayModeTest.php in core/modules/field_ui/tests/src/Functional/EntityDisplayModeTest.php
EntityDisplayTest.php in core/modules/field_ui/tests/src/Kernel/EntityDisplayTest.php
EntityViewBuilderTest.php in core/tests/Drupal/KernelTests/Core/Entity/EntityViewBuilderTest.php
EntityViewDisplayValidationTest.php in core/tests/Drupal/KernelTests/Core/Entity/EntityViewDisplayValidationTest.php
EntityViewModeResourceTestBase.php in core/tests/Drupal/FunctionalTests/Rest/EntityViewModeResourceTestBase.php
EntityViewModeTest.php in core/modules/jsonapi/tests/src/Functional/EntityViewModeTest.php
EntityViewModeValidationTest.php in core/tests/Drupal/KernelTests/Core/Entity/EntityViewModeValidationTest.php
FieldRenderedEntityTest.php in core/modules/views/tests/src/Kernel/Handler/FieldRenderedEntityTest.php
FieldUIRouteTest.php in core/modules/field_ui/tests/src/Functional/FieldUIRouteTest.php
LayoutBuilderEntityViewDisplayValidationTest.php in core/modules/layout_builder/tests/src/Kernel/LayoutBuilderEntityViewDisplayValidationTest.php
ManageFieldsMultipleTypesTest.php in core/modules/field_ui/tests/src/Functional/ManageFieldsMultipleTypesTest.php
MediaEmbedFilterTestBase.php in core/modules/media/tests/src/Kernel/MediaEmbedFilterTestBase.php
MediaEntityMetadataApiTest.php in core/modules/ckeditor5/tests/src/Functional/MediaEntityMetadataApiTest.php
MediaTest.php in core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.php
MediaTestBase.php in core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTestBase.php
MigrateViewModesTest.php in core/modules/node/tests/src/Kernel/Migrate/d6/MigrateViewModesTest.php
MigrateViewModesTest.php in core/modules/field/tests/src/Kernel/Migrate/d7/MigrateViewModesTest.php
RollbackViewModesTest.php in core/modules/field/tests/src/Kernel/Migrate/d7/RollbackViewModesTest.php
RowUITest.php in core/modules/views_ui/tests/src/Functional/RowUITest.php
SmartDefaultSettingsTest.php in core/modules/ckeditor5/tests/src/Kernel/SmartDefaultSettingsTest.php
TestViewsTest.php in core/modules/views/tests/src/Kernel/TestViewsTest.php
UpdateDescriptionConfigurationPostUpdate.php in core/modules/system/tests/src/Functional/Update/UpdateDescriptionConfigurationPostUpdate.php
ValidatorsTest.php in core/modules/ckeditor5/tests/src/Kernel/ValidatorsTest.php

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