I created a text list field on the user entity. I entered the following for Allowed values list:
apple|A delicious apple pear|A very delicious pear orange|A not so delicious orange
I can access the key for the field like this:
apple. But how do I get the text
A delicious apple programmatically?