144 files declare their use of ContainerBuilder in Drupal 10
- 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 - BlockComponentRenderArrayTest.php in core/
modules/ layout_builder/ tests/ src/ Unit/ BlockComponentRenderArrayTest.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 - CKEditor5PluginManagerTest.php in core/
modules/ ckeditor5/ tests/ src/ Kernel/ CKEditor5PluginManagerTest.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 - ConfigNamesMapperTest.php in core/
modules/ config_translation/ tests/ src/ Unit/ ConfigNamesMapperTest.php - Contains \Drupal\Tests\config_translation\Unit\ConfigNamesMapperTest.
- 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 - ContentLanguageSettingsUnitTest.php in core/
modules/ language/ tests/ src/ Unit/ ContentLanguageSettingsUnitTest.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 - ContextAwarePluginTraitTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Plugin/ Context/ ContextAwarePluginTraitTest.php - ContextDefinitionIsSatisfiedTest.php in core/
tests/ Drupal/ Tests/ Core/ Plugin/ Context/ ContextDefinitionIsSatisfiedTest.php - ContextHandlerTest.php in core/
tests/ Drupal/ Tests/ Core/ Plugin/ ContextHandlerTest.php - Contains \Drupal\Tests\Core\Plugin\ContextHandlerTest.
- 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 - DefaultsSectionStorageTest.php in core/
modules/ layout_builder/ tests/ src/ Unit/ DefaultsSectionStorageTest.php - 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.
- EntityReferenceSettingsTest.php in core/
modules/ field/ tests/ src/ Kernel/ EntityReference/ EntityReferenceSettingsTest.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 - FieldConfigEntityUnitTest.php in core/
modules/ field/ tests/ src/ Unit/ FieldConfigEntityUnitTest.php - Contains \Drupal\Tests\field\Unit\FieldConfigEntityUnitTest.
- FieldDefinitionTest.php in core/
tests/ Drupal/ Tests/ Core/ Entity/ FieldDefinitionTest.php - FieldItemListTest.php in core/
tests/ Drupal/ Tests/ Core/ Field/ FieldItemListTest.php - FieldStorageConfigEntityUnitTest.php in core/
modules/ field/ tests/ src/ Unit/ FieldStorageConfigEntityUnitTest.php - Contains \Drupal\Tests\field\Unit\FieldStorageConfigEntityUnitTest.
- FieldUiTest.php in core/
modules/ field_ui/ tests/ src/ Unit/ FieldUiTest.php - FileServiceProvider.php in core/
modules/ file/ src/ FileServiceProvider.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 - HelpEmptyPageTest.php in core/
modules/ help/ tests/ src/ Kernel/ HelpEmptyPageTest.php - HelpTopicDiscoveryTest.php in core/
modules/ help_topics/ tests/ src/ Unit/ HelpTopicDiscoveryTest.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 - JsonapiServiceProvider.php in core/
modules/ jsonapi/ src/ JsonapiServiceProvider.php - KernelTestBase.php in core/
tests/ Drupal/ KernelTests/ KernelTestBase.php - LanguageConfigOverrideTest.php in core/
modules/ language/ tests/ src/ Unit/ Config/ LanguageConfigOverrideTest.php - LanguageServiceProvider.php in core/
modules/ language/ src/ LanguageServiceProvider.php - LayoutBuilderIsActiveCacheContextTest.php in core/
modules/ layout_builder/ tests/ src/ Unit/ LayoutBuilderIsActiveCacheContextTest.php - LayoutBuilderServiceProvider.php in core/
modules/ layout_builder/ src/ LayoutBuilderServiceProvider.php - LayoutPluginManagerTest.php in core/
tests/ Drupal/ Tests/ Core/ Layout/ LayoutPluginManagerTest.php - LinkGeneratorTest.php in core/
tests/ Drupal/ Tests/ Core/ Utility/ LinkGeneratorTest.php - LinkTest.php in core/
modules/ jsonapi/ tests/ src/ Unit/ JsonApiResource/ LinkTest.php - LocaleConfigSubscriberForeignTest.php in core/
modules/ locale/ tests/ src/ Kernel/ LocaleConfigSubscriberForeignTest.php - LocaleLookupTest.php in core/
modules/ locale/ tests/ src/ Unit/ LocaleLookupTest.php - MailManagerTest.php in core/
tests/ Drupal/ Tests/ Core/ Mail/ MailManagerTest.php - Contains \Drupal\Tests\Core\Mail\MailManagerTest.
- MediaTestOembedServiceProvider.php in core/
modules/ media/ tests/ modules/ media_test_oembed/ src/ MediaTestOembedServiceProvider.php - 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 - MigrateDrupalServiceProvider.php in core/
modules/ migrate_drupal/ src/ MigrateDrupalServiceProvider.php - MigratePrivateFileTest.php in core/
modules/ file/ tests/ src/ Kernel/ Migrate/ d7/ MigratePrivateFileTest.php - MigrateSourceTest.php in core/
modules/ migrate/ tests/ src/ Unit/ MigrateSourceTest.php - Contains \Drupal\Tests\migrate\Unit\MigrateSourceTest.
- 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 - NodeBulkFormTest.php in core/
modules/ node/ tests/ src/ Unit/ Plugin/ views/ field/ NodeBulkFormTest.php - NodeOperationAccessTest.php in core/
modules/ node/ tests/ src/ Unit/ NodeOperationAccessTest.php - NodeServiceProvider.php in core/
modules/ node/ src/ NodeServiceProvider.php - NormalInstallerServiceProvider.php in core/
lib/ Drupal/ Core/ Installer/ NormalInstallerServiceProvider.php - PathAliasMenuLinkContentTest.php in core/
modules/ menu_link_content/ tests/ src/ Kernel/ PathAliasMenuLinkContentTest.php - PathPluginBaseTest.php in core/
modules/ views/ tests/ src/ Unit/ Plugin/ display/ PathPluginBaseTest.php - Contains \Drupal\Tests\views\Unit\Plugin\display\PathPluginBaseTest.
- 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 - RdfMappingConfigEntityUnitTest.php in core/
modules/ rdf/ tests/ src/ Unit/ RdfMappingConfigEntityUnitTest.php - RecursiveContextualValidatorTest.php in core/
tests/ Drupal/ Tests/ Core/ TypedData/ RecursiveContextualValidatorTest.php - Contains \Drupal\Tests\Core\TypedData\RecursiveContextualValidatorTest.
- 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 - ResponsiveImageStyleConfigEntityUnitTest.php in core/
modules/ responsive_image/ tests/ src/ Unit/ ResponsiveImageStyleConfigEntityUnitTest.php - RolesRidTest.php in core/
modules/ user/ tests/ src/ Unit/ Views/ Argument/ RolesRidTest.php - 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 - SectionComponentTest.php in core/
modules/ layout_builder/ tests/ src/ Unit/ SectionComponentTest.php - SectionRenderTest.php in core/
modules/ layout_builder/ tests/ src/ Unit/ SectionRenderTest.php - SectionTest.php in core/
modules/ layout_builder/ tests/ src/ Unit/ SectionTest.php - SerializationServiceProvider.php in core/
modules/ serialization/ src/ SerializationServiceProvider.php - ServiceProviderTestServiceProvider.php in core/
modules/ system/ tests/ modules/ service_provider_test/ src/ ServiceProviderTestServiceProvider.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 - StateTransitionValidationTest.php in core/
modules/ content_moderation/ tests/ src/ Unit/ StateTransitionValidationTest.php - StorageCopyTraitTest.php in core/
tests/ Drupal/ Tests/ Core/ Config/ StorageCopyTraitTest.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 - 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 - 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 - 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 - WorkspacesServiceProvider.php in core/
modules/ workspaces/ src/ WorkspacesServiceProvider.php - YamlFileLoaderTest.php in core/
tests/ Drupal/ Tests/ Core/ DependencyInjection/ YamlFileLoaderTest.php