I extended User entity. Now I want to create a fucntion getCustomName() to return my custom name for user
and then I can call it via twig by user.customName
Do you know how can I do that?
This is my information about the system I use
Application Type: OroPlatform
Application Version: 2.0.*
Application Edition: Community
OS, name and version: Ubuntu 14.04 64bit
Web server, name and version: Apache,
Database, name and version: MarialDB 10.0.21
PHP, version: 5.6.30
You must be logged in to reply to this topic.