Closed (duplicate)
Project:
Drupal core
Version:
8.0.x-dev
Component:
user.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
10 Aug 2013 at 14:14 UTC
Updated:
15 Feb 2026 at 08:06 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Anonymous (not verified) commentedFixed.
entity_get_form is very interesting thing. How does it behave with DIC?
Comment #2
m1r1k commentedRerolling after #2062151: Create a current user service to ensure that current account is always available
Comment #3
h3rj4n commentedTestbot doesn't fail, I don't find anything, so good to go: RTBC!
Comment #4
alexpottShould be done using
$this->currentUser();form the FormBase class which AccountFormController inherits from.Comment #5
m1r1k commentedNew patch
Comment #6
linl commentedPatch still applies, looks good. RTBC.
Comment #7
alexpottCommitted #2062183: Remove calls to deprecated global $user in core/modules/user/lib/Drupal/user/AccountFormController.php so this is a duplicate... and added likin to the commit message on that issue.