Replace deprecated method getUsername() with getDisplayName()

Created on 26 June 2017, almost 8 years ago
Updated 14 February 2023, about 2 years ago

getUsername() is deprecated. It has to be replaced with getDisplayName()
For reference,
https://api.drupal.org/api/drupal/core!modules!user!src!Entity!User.php/...

I have provided the patch in which all getUsername() functions are replaced with getDisplayName()

🐛 Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇮🇳India bhawanac

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024