93 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 - BatchController.php in core/
modules/ system/ src/ Controller/ BatchController.php - BookOutlineConstraintValidator.php in core/
modules/ book/ src/ Plugin/ Validation/ Constraint/ BookOutlineConstraintValidator.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 - 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 - Contains \Drupal\Tests\Core\Controller\ControllerResolverTest.
- CsrfTokenController.php in core/
modules/ system/ src/ Controller/ CsrfTokenController.php - DeletedWorkspaceConstraintValidator.php in core/
modules/ workspaces/ src/ Plugin/ Validation/ Constraint/ DeletedWorkspaceConstraintValidator.php - DeprecatedCsrfTokenController.php in core/
modules/ system/ tests/ modules/ csrf_test/ src/ Controller/ DeprecatedCsrfTokenController.php - EnabledConfigurablePluginsConstraintValidator.php in core/
modules/ ckeditor5/ src/ Plugin/ Validation/ Constraint/ EnabledConfigurablePluginsConstraintValidator.php - EntityAccess.php in core/
modules/ workspaces/ src/ EntityAccess.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/ workspaces/ src/ EntityOperations.php - EntityOperations.php in core/
modules/ content_moderation/ src/ EntityOperations.php - EntityReferenceSupportedNewEntitiesConstraintValidator.php in core/
modules/ workspaces/ src/ Plugin/ Validation/ Constraint/ EntityReferenceSupportedNewEntitiesConstraintValidator.php - EntityTypeInfo.php in core/
modules/ workspaces/ src/ EntityTypeInfo.php - EntityTypeInfo.php in core/
modules/ content_moderation/ src/ EntityTypeInfo.php - EntityTypeManagerTest.php in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityTypeManagerTest.php - Contains \Drupal\Tests\Core\Entity\EntityTypeManagerTest.
- 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 - FieldLayoutBuilder.php in core/
modules/ field_layout/ src/ FieldLayoutBuilder.php - FieldUiPermissions.php in core/
modules/ field_ui/ src/ FieldUiPermissions.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 - Contains \Drupal\Tests\Core\Form\FormBuilderTest.
- 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 - 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 - LayoutBuilderIntegration.php in core/
modules/ quickedit/ src/ LayoutBuilderIntegration.php - LayoutBuilderOverridesPermissions.php in core/
modules/ layout_builder/ src/ LayoutBuilderOverridesPermissions.php - LinkAccessConstraintValidator.php in core/
modules/ link/ src/ Plugin/ Validation/ Constraint/ LinkAccessConstraintValidator.php - LoadLibraryController.php in core/
modules/ system/ tests/ modules/ modernizr_deprecation_test/ src/ Controller/ LoadLibraryController.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 - 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 - 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 - RequestHandler.php in core/
modules/ rest/ src/ RequestHandler.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 - UniquePathAliasConstraintValidator.php in core/
lib/ Drupal/ Core/ Path/ Plugin/ Validation/ Constraint/ UniquePathAliasConstraintValidator.php - UpdateSettingsForm.php in core/
modules/ update/ src/ UpdateSettingsForm.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.