23 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
EntityViewModeResourceTestBase.php in core/tests/Drupal/FunctionalTests/Rest/EntityViewModeResourceTestBase.php
EntityViewModeTest.php in core/modules/jsonapi/tests/src/Functional/EntityViewModeTest.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
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/ckeditor/tests/src/FunctionalJavascript/MediaTest.php
MediaTest.php in core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaTest.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
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.