25 files declare their use of Context

ContextAwarePluginTrait.php in core/lib/Drupal/Core/Plugin/ContextAwarePluginTrait.php
ContextDefinitionIsSatisfiedTest.php in core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionIsSatisfiedTest.php
ContextDefinitionTest.php in core/tests/Drupal/KernelTests/Core/Plugin/ContextDefinitionTest.php
ContextTest.php in core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php
ContextTypedDataTest.php in core/tests/Drupal/KernelTests/Core/Plugin/ContextTypedDataTest.php
CurrentLanguageContext.php in core/lib/Drupal/Core/Language/ContextProvider/CurrentLanguageContext.php
DefaultsSectionStorageTest.php in core/modules/layout_builder/tests/src/Kernel/DefaultsSectionStorageTest.php
FakeViewModeContext.php in core/modules/layout_builder/tests/modules/layout_builder_fieldblock_test/src/ContextProvider/FakeViewModeContext.php
IHaveRuntimeContexts.php in core/modules/layout_builder/tests/modules/layout_builder_test/src/ContextProvider/IHaveRuntimeContexts.php
LayoutBuilderEntityViewDisplay.php in core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php
LayoutEntityHelperTrait.php in core/modules/layout_builder/src/LayoutEntityHelperTrait.php
LayoutEntityHelperTraitTest.php in core/modules/layout_builder/tests/src/Kernel/LayoutEntityHelperTraitTest.php
LazyContextRepositoryTest.php in core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php
NavigationRenderer.php in core/modules/navigation/src/NavigationRenderer.php
NavigationSectionStorage.php in core/modules/navigation/src/Plugin/SectionStorage/NavigationSectionStorage.php
NodeRouteContext.php in core/modules/node/src/ContextProvider/NodeRouteContext.php
OptionalContextConditionTest.php in core/tests/Drupal/KernelTests/Core/Plugin/Condition/OptionalContextConditionTest.php
OverridesSectionStorage.php in core/modules/layout_builder/src/Plugin/SectionStorage/OverridesSectionStorage.php
OverridesSectionStorageTest.php in core/modules/layout_builder/tests/src/Kernel/OverridesSectionStorageTest.php
SectionStorageBase.php in core/modules/layout_builder/src/Plugin/SectionStorage/SectionStorageBase.php
SectionStorageManagerTest.php in core/modules/layout_builder/tests/src/Unit/SectionStorageManagerTest.php
SimpleConfigSectionListTest.php in core/modules/layout_builder/tests/src/Kernel/SimpleConfigSectionListTest.php
SimpleConfigSectionStorage.php in core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/SectionStorage/SimpleConfigSectionStorage.php
TermRouteContext.php in core/modules/taxonomy/src/ContextProvider/TermRouteContext.php
TestPageDisplayVariantSubscriber.php in core/modules/system/tests/modules/display_variant_test/src/EventSubscriber/TestPageDisplayVariantSubscriber.php

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