I'm creating a custom user profile page and I know how to print certain items attached to the user like


but I don't know the names of any of the other fields. Is there a way that I can view a list of user profile field machine names?


All of the user variables are located in configuration->People->Account Settings->Manage Fields. So simply look at them over there.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.