128 files declare their use of ContainerBuilder

AcceptHeaderRoutingTestServiceProvider.php in core/modules/system/tests/modules/accept_header_routing_test/src/AcceptHeaderRoutingTestServiceProvider.php
AccessResultTest.php in core/tests/Drupal/Tests/Core/Access/AccessResultTest.php
Contains \Drupal\Tests\Core\Access\AccessResultTest.
AuthenticationProviderPassTest.php in core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/AuthenticationProviderPassTest.php
BaseFieldDefinitionTest.php in core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php
BaseFieldDefinitionTestBase.php in core/tests/Drupal/Tests/Core/Field/BaseFieldDefinitionTestBase.php
BaseThemeMissingTest.php in core/tests/Drupal/KernelTests/Core/Theme/BaseThemeMissingTest.php
BlockConfigEntityUnitTest.php in core/modules/block/tests/src/Unit/BlockConfigEntityUnitTest.php
BlockManagerTest.php in core/tests/Drupal/Tests/Core/Block/BlockManagerTest.php
BreadcrumbManagerTest.php in core/tests/Drupal/Tests/Core/Breadcrumb/BreadcrumbManagerTest.php
CacheCollectorTest.php in core/tests/Drupal/KernelTests/Core/Cache/CacheCollectorTest.php
CacheContextsManagerTest.php in core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php
Contains \Drupal\Tests\Core\Cache\Context\CacheContextsManagerTest.
CacheFactoryTest.php in core/tests/Drupal/Tests/Core/Cache/CacheFactoryTest.php
CollectRoutesTest.php in core/modules/rest/tests/src/Unit/CollectRoutesTest.php
CommentBulkFormTest.php in core/modules/comment/tests/src/Unit/Plugin/views/field/CommentBulkFormTest.php
CommentLockTest.php in core/modules/comment/tests/src/Unit/Entity/CommentLockTest.php
ConfigEntityBaseUnitTest.php in core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php
Contains \Drupal\Tests\Core\Config\Entity\ConfigEntityBaseUnitTest.
ConfigEntityTypeTest.php in core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityTypeTest.php
ConfigOverride.php in core/lib/Drupal/Core/Installer/ConfigOverride.php
ConfigTest.php in core/tests/Drupal/Tests/Core/Config/ConfigTest.php
ContainerBuilderTest.php in core/tests/Drupal/Tests/Core/DependencyInjection/ContainerBuilderTest.php
ContainerRebuildTestServiceProvider.php in core/modules/system/tests/modules/container_rebuild_test/src/ContainerRebuildTestServiceProvider.php
ContentEntityBaseUnitTest.php in core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php
ContentNegotiationRoutingTest.php in core/tests/Drupal/KernelTests/Core/Routing/ContentNegotiationRoutingTest.php
ContentTranslationManageAccessCheckTest.php in core/modules/content_translation/tests/src/Unit/Access/ContentTranslationManageAccessCheckTest.php
ContextAwarePluginBaseTest.php in core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginBaseTest.php
ContextAwarePluginTraitTest.php in core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginTraitTest.php
ContextDefinitionIsSatisfiedTest.php in core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionIsSatisfiedTest.php
CoreServiceProvider.php in core/lib/Drupal/Core/CoreServiceProvider.php
CustomPageExceptionHtmlSubscriberTest.php in core/tests/Drupal/Tests/Core/EventSubscriber/CustomPageExceptionHtmlSubscriberTest.php
DatabaseBackendTagTest.php in core/tests/Drupal/KernelTests/Core/Cache/DatabaseBackendTagTest.php
DatabaseStorageExpirableTest.php in core/tests/Drupal/KernelTests/Core/KeyValueStore/DatabaseStorageExpirableTest.php
DatabaseStorageTest.php in core/tests/Drupal/KernelTests/Core/KeyValueStore/DatabaseStorageTest.php
DateFormatAccessControlHandlerTest.php in core/modules/system/tests/src/Kernel/DateFormatAccessControlHandlerTest.php
DateHelperTest.php in core/tests/Drupal/Tests/Core/Datetime/DateHelperTest.php
DateTest.php in core/tests/Drupal/Tests/Core/Datetime/DateTest.php
DbDumpTest.php in core/tests/Drupal/KernelTests/Core/Command/DbDumpTest.php
DefaultConfigTest.php in core/tests/Drupal/KernelTests/Core/Config/DefaultConfigTest.php
DependencySerializationTest.php in core/tests/Drupal/Tests/Core/DependencyInjection/DependencySerializationTest.php
Contains \Drupal\Tests\Core\DependencyInjection\DependencySerializationTest.
DrupalFlushAllCachesTest.php in core/tests/Drupal/KernelTests/Core/Common/DrupalFlushAllCachesTest.php
DrupalKernel.php in core/lib/Drupal/Core/DrupalKernel.php
EditorConfigEntityUnitTest.php in core/modules/editor/tests/src/Unit/EditorConfigEntityUnitTest.php
EndOfTransactionQueriesTest.php in core/tests/Drupal/KernelTests/Core/Cache/EndOfTransactionQueriesTest.php
EntityAdapterUnitTest.php in core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php
EntityContextDefinitionIsSatisfiedTest.php in core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionIsSatisfiedTest.php
EntityDisplayModeBaseUnitTest.php in core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayModeBaseUnitTest.php
EntityLinkTest.php in core/tests/Drupal/Tests/Core/Entity/EntityLinkTest.php
EntityListBuilderTest.php in core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php
Contains \Drupal\Tests\Core\Entity\EntityListBuilderTest.
EntityStorageDeprecationTest.php in core/tests/Drupal/Tests/Core/Entity/EntityStorageDeprecationTest.php
EntityUnitTest.php in core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php
EntityUrlTest.php in core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php
ErrorServiceTestServiceProvider.php in core/modules/system/tests/modules/error_service_test/src/ErrorServiceTestServiceProvider.php
ExtensionSerializationTest.php in core/tests/Drupal/Tests/Core/Extension/ExtensionSerializationTest.php
FieldDefinitionTest.php in core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php
FieldItemListTest.php in core/tests/Drupal/Tests/Core/Field/FieldItemListTest.php
FieldUiTest.php in core/modules/field_ui/tests/src/Unit/FieldUiTest.php
FileTestBase.php in core/tests/Drupal/KernelTests/Core/File/FileTestBase.php
FilterCaptionTwigDebugTest.php in core/modules/filter/tests/src/Kernel/FilterCaptionTwigDebugTest.php
FormAjaxSubscriberTest.php in core/tests/Drupal/Tests/Core/Form/EventSubscriber/FormAjaxSubscriberTest.php
FormSubmitterTest.php in core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php
FrontMatterTest.php in core/tests/Drupal/KernelTests/Core/Theme/FrontMatterTest.php
HalServiceProvider.php in core/modules/hal/src/HalServiceProvider.php
HelpEmptyPageTest.php in core/modules/help/tests/src/Kernel/HelpEmptyPageTest.php
ImageStyleCustomStreamWrappersTest.php in core/modules/image/tests/src/Kernel/ImageStyleCustomStreamWrappersTest.php
InlineFormErrorsServiceProvider.php in core/modules/inline_form_errors/src/InlineFormErrorsServiceProvider.php
install.core.inc in core/includes/install.core.inc
API functions for installing Drupal.
InstallerServiceProvider.php in core/lib/Drupal/Core/Installer/InstallerServiceProvider.php
KernelTestBase.php in core/tests/Drupal/KernelTests/KernelTestBase.php
KeyValueEntityStorageTest.php in core/tests/Drupal/Tests/Core/Entity/KeyValueStore/KeyValueEntityStorageTest.php
LayoutPluginManagerTest.php in core/tests/Drupal/Tests/Core/Layout/LayoutPluginManagerTest.php
LinkFormatterTest.php in core/modules/link/tests/src/Unit/LinkFormatterTest.php
LinkGeneratorTest.php in core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php
LocalTaskManagerTest.php in core/tests/Drupal/Tests/Core/Menu/LocalTaskManagerTest.php
MailManagerTest.php in core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php
Contains \Drupal\Tests\Core\Mail\MailManagerTest.
MemoryStorageTest.php in core/tests/Drupal/KernelTests/Core/KeyValueStore/MemoryStorageTest.php
MenuAccessControlHandlerTest.php in core/modules/system/tests/src/Kernel/MenuAccessControlHandlerTest.php
MenuLinkParentTest.php in core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php
MenuLinkTreeTest.php in core/modules/system/tests/src/Unit/Menu/MenuLinkTreeTest.php
MigrateSourceTest.php in core/modules/migrate/tests/src/Unit/MigrateSourceTest.php
Contains \Drupal\Tests\migrate\Unit\MigrateSourceTest.
MigrateSqlIdMapTest.php in core/modules/migrate/tests/src/Unit/MigrateSqlIdMapTest.php
MigrateSqlSourceTestBase.php in core/modules/migrate/tests/src/Kernel/MigrateSqlSourceTestBase.php
MigrateTestCase.php in core/modules/migrate/tests/src/Unit/MigrateTestCase.php
MigrationLookupTestCase.php in core/modules/migrate/tests/src/Unit/process/MigrationLookupTestCase.php
MimeTypeGuesserTest.php in core/tests/Drupal/Tests/Core/File/MimeTypeGuesserTest.php
NormalInstallerServiceProvider.php in core/lib/Drupal/Core/Installer/NormalInstallerServiceProvider.php
PathPluginBaseTest.php in core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php
Contains \Drupal\Tests\views\Unit\Plugin\display\PathPluginBaseTest.
PhpMailTest.php in core/tests/Drupal/Tests/Core/Mail/Plugin/Mail/PhpMailTest.php
PluralTranslatableMarkupTest.php in core/tests/Drupal/Tests/Core/StringTranslation/PluralTranslatableMarkupTest.php
PreprocessPagerTest.php in core/modules/system/tests/src/Unit/Pager/PreprocessPagerTest.php
ProxyServicesPassTest.php in core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/ProxyServicesPassTest.php
RecursiveContextualValidatorTest.php in core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php
RegisterSerializationClassesCompilerPassTest.php in core/modules/serialization/tests/src/Unit/CompilerPass/RegisterSerializationClassesCompilerPassTest.php
RenderElementTest.php in core/tests/Drupal/Tests/Core/Render/Element/RenderElementTest.php
RequestFormatRouteFilterTest.php in core/tests/Drupal/Tests/Core/Routing/RequestFormatRouteFilterTest.php
RolesRidTest.php in core/modules/user/tests/src/Unit/Views/Argument/RolesRidTest.php
RouteBuilderTest.php in core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php
Contains \Drupal\Tests\Core\Routing\RouteBuilderTest.
RouteProviderTest.php in core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php
Contains \Drupal\KernelTests\Core\Routing\RouteProviderTest.
RouterTestServiceProvider.php in core/modules/system/tests/modules/router_test_directory/src/RouterTestServiceProvider.php
SerializationServiceProvider.php in core/modules/serialization/src/SerializationServiceProvider.php
ServiceProviderTestServiceProvider.php in core/modules/system/tests/modules/service_provider_test/src/ServiceProviderTestServiceProvider.php
SharedTempStoreTest.php in core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php
SqlBaseTest.php in core/modules/views/tests/src/Unit/Plugin/pager/SqlBaseTest.php
SqlContentEntityStorageTest.php in core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php
Contains \Drupal\Tests\Core\Entity\Sql\SqlContentEntityStorageTest.
StackedKernelPassTest.php in core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/StackedKernelPassTest.php
StorageCopyTraitTest.php in core/tests/Drupal/Tests/Core/Config/StorageCopyTraitTest.php
TestKernel.php in core/lib/Drupal/Core/Test/TestKernel.php
ThemeInstallerTest.php in core/tests/Drupal/KernelTests/Core/Theme/ThemeInstallerTest.php
ThemeNegotiatorTest.php in core/tests/Drupal/Tests/Core/Theme/ThemeNegotiatorTest.php
TokenTest.php in core/tests/Drupal/Tests/Core/Utility/TokenTest.php
TranslationTest.php in core/tests/Drupal/Tests/Core/Annotation/TranslationTest.php
TwigEnvironmentTest.php in core/tests/Drupal/KernelTests/Core/Theme/TwigEnvironmentTest.php
TwigIncludeTest.php in core/modules/system/tests/src/Kernel/Theme/TwigIncludeTest.php
UnitTestCase.php in core/tests/Drupal/Tests/UnitTestCase.php
UnroutedUrlTest.php in core/tests/Drupal/Tests/Core/UnroutedUrlTest.php
UpdatePathTestBase.php in core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBase.php
UpdateServiceProvider.php in core/lib/Drupal/Core/Update/UpdateServiceProvider.php
UrlGeneratorTest.php in core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php
UrlTest.php in core/tests/Drupal/Tests/Core/UrlTest.php
Contains \Drupal\Tests\Core\UrlTest.
UserBulkFormTest.php in core/modules/user/tests/src/Unit/Plugin/views/field/UserBulkFormTest.php
UserMailRequiredValidatorTest.php in core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/UserMailRequiredValidatorTest.php
UserSessionTest.php in core/tests/Drupal/Tests/Core/Session/UserSessionTest.php
ViewExecutableTest.php in core/modules/views/tests/src/Unit/ViewExecutableTest.php
ViewListBuilderTest.php in core/modules/views_ui/tests/src/Unit/ViewListBuilderTest.php
Contains \Drupal\Tests\views_ui\Unit\ViewListBuilderTest.
ViewsBlockTest.php in core/modules/views/tests/src/Unit/Plugin/Block/ViewsBlockTest.php
ViewsTemplateTest.php in core/modules/views/tests/src/Kernel/ViewsTemplateTest.php
ViewsTest.php in core/modules/views/tests/src/Unit/ViewsTest.php
WorkflowAccessControlHandlerTest.php in core/modules/workflows/tests/src/Kernel/WorkflowAccessControlHandlerTest.php
WorkflowTest.php in core/modules/workflows/tests/src/Unit/WorkflowTest.php
YamlFileLoaderTest.php in core/tests/Drupal/Tests/Core/DependencyInjection/YamlFileLoaderTest.php

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