168 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 - BaseThemeDefaultDeprecationTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Theme/ BaseThemeDefaultDeprecationTest.php - BlockComponentRenderArrayTest.php in core/
modules/ layout_builder/ tests/ src/ Unit/ BlockComponentRenderArrayTest.php - BlockConfigEntityUnitTest.php in core/
modules/ block/ tests/ src/ Unit/ BlockConfigEntityUnitTest.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.
- CachedStorageTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Config/ Storage/ CachedStorageTest.php - CacheFactoryTest.php in core/
tests/ Drupal/ Tests/ Core/ Cache/ CacheFactoryTest.php - CckFileTest.php in core/
modules/ file/ tests/ src/ Unit/ Plugin/ migrate/ process/ d6/ CckFileTest.php - ClassLoaderTest.php in core/
tests/ Drupal/ Tests/ Core/ ClassLoader/ ClassLoaderTest.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 - 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 - ContextAwarePluginBaseTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Plugin/ Context/ ContextAwarePluginBaseTest.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 - DeprecatedClassesTest.php in core/
modules/ path_alias/ tests/ src/ Unit/ DeprecatedClassesTest.php - DeprecatedCleanupTest.php in core/
modules/ simpletest/ tests/ src/ Kernel/ DeprecatedCleanupTest.php - DrupalGetProfileLegacyTest.php in core/
tests/ Drupal/ Tests/ Core/ Bootstrap/ DrupalGetProfileLegacyTest.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 - EntityContextDefinitionDeprecationTest.php in core/
tests/ Drupal/ Tests/ Core/ Plugin/ Context/ EntityContextDefinitionDeprecationTest.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 - EntityFormTest.php in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityFormTest.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.
- EntityManagerTest.php in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityManagerTest.php - 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 - ExtensionInstallStorageTest.php in core/
tests/ Drupal/ Tests/ Core/ Config/ ExtensionInstallStorageTest.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 - FieldFileTest.php in core/
modules/ file/ tests/ src/ Unit/ Plugin/ migrate/ process/ d6/ FieldFileTest.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 - GetFilenameTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Bootstrap/ GetFilenameTest.php - HalServiceProvider.php in core/
modules/ hal/ src/ HalServiceProvider.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/
modules/ simpletest/ src/ KernelTestBase.php - KernelTestBase.php in core/
tests/ Drupal/ KernelTests/ KernelTestBase.php - KeyValueEntityStorageTest.php in core/
tests/ Drupal/ Tests/ Core/ Entity/ KeyValueStore/ KeyValueEntityStorageTest.php - LanguageConfigOverrideTest.php in core/
modules/ language/ tests/ src/ Unit/ Config/ LanguageConfigOverrideTest.php - LanguageServiceProvider.php in core/
modules/ language/ src/ LanguageServiceProvider.php - LayoutBuilderServiceProvider.php in core/
modules/ layout_builder/ src/ LayoutBuilderServiceProvider.php - LayoutPluginManagerTest.php in core/
tests/ Drupal/ Tests/ Core/ Layout/ LayoutPluginManagerTest.php - LegacyBlockPluginIdTest.php in core/
modules/ block/ tests/ src/ Unit/ Plugin/ migrate/ process/ LegacyBlockPluginIdTest.php - LegacyBlockVisibilityTest.php in core/
modules/ block/ tests/ src/ Unit/ Plugin/ migrate/ process/ LegacyBlockVisibilityTest.php - LegacyFileTest.php in core/
modules/ file/ tests/ src/ Unit/ LegacyFileTest.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 - 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.
- 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.
- MigrateSqlSourceTestCase.php in core/
modules/ migrate/ tests/ src/ Unit/ MigrateSqlSourceTestCase.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 - NodeBulkFormTest.php in core/
modules/ node/ tests/ src/ Unit/ Plugin/ views/ field/ NodeBulkFormTest.php - NodeServiceProvider.php in core/
modules/ node/ src/ NodeServiceProvider.php - NormalInstallerServiceProvider.php in core/
lib/ Drupal/ Core/ Installer/ NormalInstallerServiceProvider.php - PathAliasDeprecatedTestServiceProvider.php in core/
modules/ path_alias/ tests/ modules/ path_alias_deprecated_test/ src/ PathAliasDeprecatedTestServiceProvider.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 - RestServiceProvider.php in core/
modules/ rest/ src/ RestServiceProvider.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 - SectionComponentTest.php in core/
modules/ layout_builder/ tests/ src/ Unit/ SectionComponentTest.php - SectionRenderTest.php in core/
modules/ layout_builder/ tests/ src/ Unit/ SectionRenderTest.php - SelectProfileFormTest.php in core/
tests/ Drupal/ FunctionalJavascriptTests/ Core/ Installer/ Form/ SelectProfileFormTest.php - SerializationServiceProvider.php in core/
modules/ serialization/ src/ SerializationServiceProvider.php - ServiceProviderTestServiceProvider.php in core/
modules/ system/ tests/ modules/ service_provider_test/ src/ ServiceProviderTestServiceProvider.php - SimpletestPhpunitRunCommandTest.php in core/
modules/ simpletest/ tests/ src/ Unit/ SimpletestPhpunitRunCommandTest.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 - SystemListTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Theme/ SystemListTest.php - TestServiceProvider.php in core/
tests/ Drupal/ KernelTests/ TestServiceProvider.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/
modules/ system/ src/ Tests/ Update/ UpdatePathTestBase.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 - UserServiceProvider.php in core/
modules/ user/ src/ UserServiceProvider.php - UserServiceProviderFallbackTest.php in core/
modules/ user/ tests/ src/ Kernel/ UserServiceProviderFallbackTest.php - UserServiceProviderTest.php in core/
modules/ user/ tests/ src/ Kernel/ UserServiceProviderTest.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
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.