24 files declare their use of EntityContextDefinition

ConditionTestDualUser.php in core/modules/system/tests/modules/condition_test/src/Plugin/Condition/ConditionTestDualUser.php
ContextDefinitionTest.php in core/tests/Drupal/KernelTests/Core/Plugin/ContextDefinitionTest.php
ContextHandlerTest.php in core/tests/Drupal/KernelTests/Core/Plugin/ContextHandlerTest.php
ContextPluginTest.php in core/tests/Drupal/KernelTests/Core/Plugin/ContextPluginTest.php
DefaultsSectionStorage.php in core/modules/layout_builder/src/Plugin/SectionStorage/DefaultsSectionStorage.php
DefaultsSectionStorageTest.php in core/modules/layout_builder/tests/src/Unit/DefaultsSectionStorageTest.php
DefaultsSectionStorageTest.php in core/modules/layout_builder/tests/src/Kernel/DefaultsSectionStorageTest.php
Entity.php in core/modules/views/src/Plugin/views/argument_validator/Entity.php
EntityBundle.php in core/lib/Drupal/Core/Entity/Plugin/Condition/Deriver/EntityBundle.php
EntityContextDefinitionIsSatisfiedTest.php in core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionIsSatisfiedTest.php
ExtraFieldBlockDeriver.php in core/modules/layout_builder/src/Plugin/Derivative/ExtraFieldBlockDeriver.php
FieldBlockDeriver.php in core/modules/layout_builder/src/Plugin/Derivative/FieldBlockDeriver.php
FieldBlockTest.php in core/modules/layout_builder/tests/src/Kernel/FieldBlockTest.php
MockBlockManager.php in core/modules/system/tests/modules/plugin_test/src/Plugin/MockBlockManager.php
NodeContextTestBlock.php in core/modules/node/tests/modules/node_block_test/src/Plugin/Block/NodeContextTestBlock.php
NodeRouteContext.php in core/modules/node/src/ContextProvider/NodeRouteContext.php
OptionalContextCondition.php in core/modules/system/tests/modules/condition_test/src/Plugin/Condition/OptionalContextCondition.php
OptionalContextConditionTest.php in core/tests/Drupal/KernelTests/Core/Plugin/Condition/OptionalContextConditionTest.php
PluginTestBase.php in core/tests/Drupal/KernelTests/Core/Plugin/PluginTestBase.php
TermRouteContext.php in core/modules/taxonomy/src/ContextProvider/TermRouteContext.php
TestContextAwareBlock.php in core/modules/block/tests/modules/block_test/src/Plugin/Block/TestContextAwareBlock.php
TestContextAwareLayout.php in core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Layout/TestContextAwareLayout.php
TestContextAwareUnsatisfiedBlock.php in core/modules/block/tests/modules/block_test/src/Plugin/Block/TestContextAwareUnsatisfiedBlock.php
UserRole.php in core/modules/user/src/Plugin/Condition/UserRole.php

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