Hello,
I am currently trying to learn how to use things like env\userAttribute() or entity\attribute() etc.
However, I am not able to find any documentation on what identifiers I can put into () to be able to pick a specific value. For example, when I was trying to get a Current User's username, I had to try it on my own to be able to find the correct syntax which is env\userAttribute('userName'). Is it described somewhere? I would love to use it more and more and I would love to know all the possible identifiers.
Hope it makes sense and it is clear what I am looking for.
Thank you.
Have a great day.
I am currently trying to learn how to use things like env\userAttribute() or entity\attribute() etc.
However, I am not able to find any documentation on what identifiers I can put into () to be able to pick a specific value. For example, when I was trying to get a Current User's username, I had to try it on my own to be able to find the correct syntax which is env\userAttribute('userName'). Is it described somewhere? I would love to use it more and more and I would love to know all the possible identifiers.
Hope it makes sense and it is clear what I am looking for.
Thank you.
Have a great day.
Comment