Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Add Change record to @deprecated in core/lib/Drupal/Core/Session/AccountInterface.php
Comment | File | Size | Author |
---|---|---|---|
#3 | add_change_record-2940027-3.patch | 650 bytes | jmsosso |
Comments
Comment #2
jmsosso CreditAttribution: jmsosso at servinube commentedMe and @jpmelguizo are going to work in this issue for the Sprint weekend 2018.
Comment #3
jmsosso CreditAttribution: jmsosso at servinube 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.