Closed (fixed)
Project:
Drupal core
Version:
8.7.x-dev
Component:
user.module
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
27 Jan 2018 at 14:48 UTC
Updated:
10 Feb 2019 at 00:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
jmsosso commentedMe and @jpmelguizo are going to work in this issue for the Sprint weekend 2018.
Comment #3
jmsosso commentedWe added the CR linked to the issue that added the @deprecated tag but IMHO is not clear enough about the getUsername() deprecation. In the issue #2112679-178: getUsername() should return the username getDisplayName() for the formatted user name they discussed about changing the method name apart from the functionality.
Comment #5
manuel.adanPatch applies clean in latest -dev. I think it's ready to commit.
Comment #6
alexpottI updated https://www.drupal.org/node/2572493 to mention getUserName() is deprecated.
Committed and pushed 6b6bc91784 to 8.7.x and fa7196c9b1 to 8.6.x. Thanks!
Backported to 8.6.x since this is a docs fix.