Closed (cannot reproduce)
Project:
Drupal core
Version:
8.0.x-dev
Component:
base system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
9 Apr 2011 at 15:42 UTC
Updated:
12 Jun 2026 at 12:06 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
franzThis patch allows the $options argument.
Comment #2
dave reidNeeds to be re-rolled for 8.x core changes, and also make sure to pass $options through to the drupal_alter() as well.
Comment #3
dave reidI'm going to add this to the D8MI initiative and widening the scope.
Comment #4
gábor hojtsyHm, can you help work on this one Dave? It would be very appreciated. Thanks!
Comment #5
yesct commentedMaybe an updated issue summary and/or a specific remaining tasks list would let someone help with this?
This looks like it might be challenging.
Dave, #2 seems still needed. Any details you can add?
Comment #6
xjmComment #7
yesct commentedwe're just using the general needs issue summary update tag.
Comment #8
pwieck commentedremoving reroll tag since this is beyond a reroll.
Comment #9
jair commentedNeeds reroll
Comment #10
franzThe function on my patch does not even exist anymore, and the one in it's place (user_format_name()) is deprecated, so it should be obvious, it's not a matter of reroll anymore.
Concerning this issue, it's not very clear to me what needs to be changed, since all of those change in core. Is Drupal\user\Entity\User::getUsername() ? If so, must also change Interface, right? By widening the scope, you mean other entities also need similar changes? Which ones?
Comment #11
mgiffordComment #12
gábor hojtsyIn Drupal 8 now you can just get the translation desired and pass that along:
$account->getTranslation('de');
whatever_works_with_account($account);
Comment #13
quietone commentedUpdating tags per Issue tags field and Issue tags -- special tags and for issue #3565085: Drupal core issue tag cleanup.