Closed (duplicate)
Project:
Drupal core
Version:
9.0.x-dev
Component:
user system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
14 Jan 2020 at 05:47 UTC
Updated:
23 Mar 2020 at 17:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
hardik_patel_12 commentedKindly review a patch.
Comment #3
hardik_patel_12 commentedComment #4
hardik_patel_12 commentedComment #5
hardik_patel_12 commentedcombining 2 issues #3106241 : \Drupal calls should be avoided in classes, use dependency injection instead in AccountForm.php and #3106232 : \Drupal calls should be avoided in classes, use dependency injection instead in RegisterAccessCheck.php file
Comment #6
hardik_patel_12 commentedComment #7
hardik_patel_12 commentedKindly review a new patch.
Comment #8
hardik_patel_12 commentedComment #9
hardik_patel_12 commentedComment #10
xjmThank you for filing this and for your contributions so far.
I am closing this as a duplicate of #2729597: [meta] Replace \Drupal with injected services where appropriate in core. You can use the work in the patches from this and similar issues as starting points for new issues scoped by concept.