Closed (works as designed)
Project:
Name Field
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 Sep 2013 at 05:52 UTC
Updated:
13 Mar 2018 at 13:42 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
rooby commentedHow about this for a solution?
A couple of things to note:
* In the current code there are some places where it tries to use $acccount instead of $account, so presumably the currently realname functionality doesn't work properly at the moment.
* The call to name_format() was previously passing in the user object and entity type as $settings, however name_format() and its children don't seem to ever use those so I removed them.
Comment #2
rooby commentedAlso, in the spirit of full disclosure, I have not tested the webform integration as yet.
Comment #3
alan d. commentedNice ;)
A super quick 1 min review looks good, not sure when I'll get the time for a complete review though.
Comment #4
alan d. commentedThinking this is custom module territory, too many third party modules potentially needing the same thing directly or indirectly, P, FC, Profile2, ER, ...