109 files declare their use of ContainerInjectionInterface
- AccessCheck.php in core/
modules/ system/ tests/ modules/ menu_test/ src/ Access/ AccessCheck.php - AddSectionController.php in core/
modules/ layout_builder/ src/ Controller/ AddSectionController.php - AllowedValuesConstraintValidator.php in core/
lib/ Drupal/ Core/ Validation/ Plugin/ Validation/ Constraint/ AllowedValuesConstraintValidator.php - AnnounceController.php in core/
modules/ announcements_feed/ src/ Controller/ AnnounceController.php - AssetRoutes.php in core/
modules/ system/ src/ Routing/ AssetRoutes.php - BatchController.php in core/
modules/ system/ src/ Controller/ BatchController.php - BlockContentPermissions.php in core/
modules/ block_content/ src/ BlockContentPermissions.php - BookOutlineConstraintValidator.php in core/
modules/ book/ src/ Plugin/ Validation/ Constraint/ BookOutlineConstraintValidator.php - CallableResolverTest.php in core/
tests/ Drupal/ Tests/ Core/ Utility/ CallableResolverTest.php - CategoryAutocompleteController.php in core/
modules/ block/ src/ Controller/ CategoryAutocompleteController.php - ChooseBlockController.php in core/
modules/ layout_builder/ src/ Controller/ ChooseBlockController.php - ChooseSectionController.php in core/
modules/ layout_builder/ src/ Controller/ ChooseSectionController.php - CKEditor5MediaAndFilterSettingsInSyncConstraintValidator.php in core/
modules/ ckeditor5/ src/ Plugin/ Validation/ Constraint/ CKEditor5MediaAndFilterSettingsInSyncConstraintValidator.php - CommentNameConstraintValidator.php in core/
modules/ comment/ src/ Plugin/ Validation/ Constraint/ CommentNameConstraintValidator.php - ConfigController.php in core/
modules/ config/ src/ Controller/ ConfigController.php - ConfigDependencies.php in core/
modules/ rest/ src/ Entity/ ConfigDependencies.php - ConfigEntityUpdater.php in core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityUpdater.php - ConfigExistsConstraintValidator.php in core/
lib/ Drupal/ Core/ Config/ Plugin/ Validation/ Constraint/ ConfigExistsConstraintValidator.php - ContactFormEditForm.php in core/
modules/ contact/ src/ ContactFormEditForm.php - ContentModerationConfigureForm.php in core/
modules/ content_moderation/ src/ Form/ ContentModerationConfigureForm.php - ContentPreprocess.php in core/
modules/ content_moderation/ src/ ContentPreprocess.php - ContentTranslationPermissions.php in core/
modules/ content_translation/ src/ ContentTranslationPermissions.php - ContentTranslationSynchronizedFieldsConstraintValidator.php in core/
modules/ content_translation/ src/ Plugin/ Validation/ Constraint/ ContentTranslationSynchronizedFieldsConstraintValidator.php - ContextualController.php in core/
modules/ contextual/ src/ ContextualController.php - ControllerBase.php in core/
lib/ Drupal/ Core/ Controller/ ControllerBase.php - ControllerResolverTest.php in core/
tests/ Drupal/ Tests/ Core/ Controller/ ControllerResolverTest.php - CsrfTokenController.php in core/
modules/ system/ src/ Controller/ CsrfTokenController.php - DeletedWorkspaceConstraintValidator.php in core/
modules/ workspaces/ src/ Plugin/ Validation/ Constraint/ DeletedWorkspaceConstraintValidator.php - EnabledConfigurablePluginsConstraintValidator.php in core/
modules/ ckeditor5/ src/ Plugin/ Validation/ Constraint/ EnabledConfigurablePluginsConstraintValidator.php - EntityAccess.php in core/
modules/ workspaces/ src/ EntityAccess.php - EntityBundleExistsConstraintValidator.php in core/
lib/ Drupal/ Core/ Validation/ Plugin/ Validation/ Constraint/ EntityBundleExistsConstraintValidator.php - EntityController.php in core/
lib/ Drupal/ Core/ Entity/ Controller/ EntityController.php - EntityDisplayRebuilder.php in core/
modules/ field/ src/ EntityDisplayRebuilder.php - EntityOperations.php in core/
modules/ content_moderation/ src/ EntityOperations.php - EntityOperations.php in core/
modules/ workspaces/ src/ EntityOperations.php - EntityReferenceSupportedNewEntitiesConstraintValidator.php in core/
modules/ workspaces/ src/ Plugin/ Validation/ Constraint/ EntityReferenceSupportedNewEntitiesConstraintValidator.php - EntityRevisionViewController.php in core/
lib/ Drupal/ Core/ Entity/ Controller/ EntityRevisionViewController.php - EntityTypeInfo.php in core/
modules/ content_moderation/ src/ EntityTypeInfo.php - EntityTypeInfo.php in core/
modules/ workspaces/ src/ EntityTypeInfo.php - EntityTypeManagerTest.php in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityTypeManagerTest.php - EntityUntranslatableFieldsConstraintValidator.php in core/
lib/ Drupal/ Core/ Entity/ Plugin/ Validation/ Constraint/ EntityUntranslatableFieldsConstraintValidator.php - EntityViewController.php in core/
lib/ Drupal/ Core/ Entity/ Controller/ EntityViewController.php - EntityWorkspaceConflictConstraintValidator.php in core/
modules/ workspaces/ src/ Plugin/ Validation/ Constraint/ EntityWorkspaceConflictConstraintValidator.php - ExtensionExistsConstraintValidator.php in core/
lib/ Drupal/ Core/ Extension/ Plugin/ Validation/ Constraint/ ExtensionExistsConstraintValidator.php - FieldLayoutBuilder.php in core/
modules/ field_layout/ src/ FieldLayoutBuilder.php - FieldUiPermissions.php in core/
modules/ field_ui/ src/ FieldUiPermissions.php - FileExtensionSecureConstraintValidator.php in core/
modules/ file/ src/ Plugin/ Validation/ Constraint/ FileExtensionSecureConstraintValidator.php - FileImageDimensionsConstraintValidator.php in core/
modules/ file/ src/ Plugin/ Validation/ Constraint/ FileImageDimensionsConstraintValidator.php - FileIsImageConstraintValidator.php in core/
modules/ file/ src/ Plugin/ Validation/ Constraint/ FileIsImageConstraintValidator.php - FileSizeLimitConstraintValidator.php in core/
modules/ file/ src/ Plugin/ Validation/ Constraint/ FileSizeLimitConstraintValidator.php - FileValidationConstraintValidator.php in core/
modules/ file/ src/ Plugin/ Validation/ Constraint/ FileValidationConstraintValidator.php - FilterPermissions.php in core/
modules/ filter/ src/ FilterPermissions.php - FormBase.php in core/
lib/ Drupal/ Core/ Form/ FormBase.php - FormBuilderTest.php in core/
tests/ Drupal/ Tests/ Core/ Form/ FormBuilderTest.php - FormOperations.php in core/
modules/ workspaces/ src/ FormOperations.php - FundamentalCompatibilityConstraintValidator.php in core/
modules/ ckeditor5/ src/ Plugin/ Validation/ Constraint/ FundamentalCompatibilityConstraintValidator.php - ImageStyleRoutes.php in core/
modules/ image/ src/ Routing/ ImageStyleRoutes.php - ImmutablePropertiesConstraintValidator.php in core/
lib/ Drupal/ Core/ Entity/ Plugin/ Validation/ Constraint/ ImmutablePropertiesConstraintValidator.php - InlineBlockEntityOperations.php in core/
modules/ layout_builder/ src/ InlineBlockEntityOperations.php - InstallHelper.php in core/
profiles/ demo_umami/ modules/ demo_umami_content/ src/ InstallHelper.php - LanguageTestController.php in core/
modules/ language/ tests/ language_test/ src/ Controller/ LanguageTestController.php - LayoutBuilderOverridesPermissions.php in core/
modules/ layout_builder/ src/ LayoutBuilderOverridesPermissions.php - LinkAccessConstraintValidator.php in core/
modules/ link/ src/ Plugin/ Validation/ Constraint/ LinkAccessConstraintValidator.php - LonelyMonkeyController.php in core/
modules/ system/ tests/ modules/ error_service_test/ src/ Controller/ LonelyMonkeyController.php - MachineNameController.php in core/
modules/ system/ src/ MachineNameController.php - MediaFilterController.php in core/
modules/ media/ src/ Controller/ MediaFilterController.php - MediaPermissions.php in core/
modules/ media/ src/ MediaPermissions.php - MenuLinkDefaultForm.php in core/
lib/ Drupal/ Core/ Menu/ Form/ MenuLinkDefaultForm.php - MenuLinksetRoutes.php in core/
modules/ system/ src/ Routing/ MenuLinksetRoutes.php - MenuTreeHierarchyConstraintValidator.php in core/
modules/ menu_link_content/ src/ Plugin/ Validation/ Constraint/ MenuTreeHierarchyConstraintValidator.php - ModerationStateConstraintValidator.php in core/
modules/ content_moderation/ src/ Plugin/ Validation/ Constraint/ ModerationStateConstraintValidator.php - MoveBlockController.php in core/
modules/ layout_builder/ src/ Controller/ MoveBlockController.php - NavigationContentLinks.php in core/
modules/ navigation/ src/ NavigationContentLinks.php - NodeAccessTestAutoBubblingController.php in core/
modules/ node/ tests/ node_access_test_auto_bubbling/ src/ Controller/ NodeAccessTestAutoBubblingController.php - NodeController.php in core/
modules/ node/ src/ Controller/ NodeController.php - OEmbedIframeController.php in core/
modules/ media/ src/ Controller/ OEmbedIframeController.php - OEmbedResourceConstraintValidator.php in core/
modules/ media/ src/ Plugin/ Validation/ Constraint/ OEmbedResourceConstraintValidator.php - PathAliasConstraintValidator.php in core/
modules/ path/ src/ Plugin/ Validation/ Constraint/ PathAliasConstraintValidator.php - PhpUnitTestRunner.php in core/
lib/ Drupal/ Core/ Test/ PhpUnitTestRunner.php - ProtectedUserFieldConstraintValidator.php in core/
modules/ user/ src/ Plugin/ Validation/ Constraint/ ProtectedUserFieldConstraintValidator.php - RenderPlaceholderMessageTestController.php in core/
modules/ system/ tests/ modules/ render_placeholder_message_test/ src/ RenderPlaceholderMessageTestController.php - RequestHandler.php in core/
modules/ rest/ src/ RequestHandler.php - RequiredConfigDependenciesConstraintValidator.php in core/
lib/ Drupal/ Core/ Config/ Plugin/ Validation/ Constraint/ RequiredConfigDependenciesConstraintValidator.php - RestPermissions.php in core/
modules/ rest/ src/ RestPermissions.php - Routes.php in core/
modules/ jsonapi/ src/ Routing/ Routes.php - SearchPageRoutes.php in core/
modules/ search/ src/ Routing/ SearchPageRoutes.php - SourceEditingRedundantTagsConstraintValidator.php in core/
modules/ ckeditor5/ src/ Plugin/ Validation/ Constraint/ SourceEditingRedundantTagsConstraintValidator.php - StyleSensibleElementConstraintValidator.php in core/
modules/ ckeditor5/ src/ Plugin/ Validation/ Constraint/ StyleSensibleElementConstraintValidator.php - SwitchToLiveForm.php in core/
modules/ workspaces/ src/ Form/ SwitchToLiveForm.php - SystemBrandingOffCanvasForm.php in core/
modules/ system/ src/ Form/ SystemBrandingOffCanvasForm.php - SystemInfoController.php in core/
modules/ system/ src/ Controller/ SystemInfoController.php - SystemMenuOffCanvasForm.php in core/
modules/ system/ src/ Form/ SystemMenuOffCanvasForm.php - TaxonomyPermissions.php in core/
modules/ taxonomy/ src/ TaxonomyPermissions.php - TaxonomyTermHierarchyConstraintValidator.php in core/
modules/ taxonomy/ src/ Plugin/ Validation/ Constraint/ TaxonomyTermHierarchyConstraintValidator.php - ToolbarItemConditionsMetConstraintValidator.php in core/
modules/ ckeditor5/ src/ Plugin/ Validation/ Constraint/ ToolbarItemConditionsMetConstraintValidator.php - ToolbarItemConstraintValidator.php in core/
modules/ ckeditor5/ src/ Plugin/ Validation/ Constraint/ ToolbarItemConstraintValidator.php - ToolbarItemDependencyConstraintValidator.php in core/
modules/ ckeditor5/ src/ Plugin/ Validation/ Constraint/ ToolbarItemDependencyConstraintValidator.php - UniqueFieldValueValidator.php in core/
lib/ Drupal/ Core/ Validation/ Plugin/ Validation/ Constraint/ UniqueFieldValueValidator.php - UniquePathAliasConstraintValidator.php in core/
lib/ Drupal/ Core/ Path/ Plugin/ Validation/ Constraint/ UniquePathAliasConstraintValidator.php - Update10101.php in core/
modules/ pgsql/ src/ Update10101.php - UserAuthenticationController.php in core/
modules/ user/ src/ Controller/ UserAuthenticationController.php - ValidPathConstraintValidator.php in core/
lib/ Drupal/ Core/ Path/ Plugin/ Validation/ Constraint/ ValidPathConstraintValidator.php - ValidReferenceConstraintValidator.php in core/
lib/ Drupal/ Core/ Entity/ Plugin/ Validation/ Constraint/ ValidReferenceConstraintValidator.php - ViewAjaxController.php in core/
modules/ views/ src/ Controller/ ViewAjaxController.php - ViewsConfigUpdater.php in core/
modules/ views/ src/ ViewsConfigUpdater.php - ViewsForm.php in core/
modules/ views/ src/ Form/ ViewsForm.php - ViewsQueryAlter.php in core/
modules/ workspaces/ src/ ViewsQueryAlter.php - WorkspaceMergeForm.php in core/
modules/ workspaces/ src/ Form/ WorkspaceMergeForm.php - WorkspacePublishForm.php in core/
modules/ workspaces/ src/ Form/ WorkspacePublishForm.php
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.