In Drupal 7, we can use a template file like page--user--register.tpl.php, or we can register our own template file.

How we can do it in Drupal 8?

1 Answer 1


This is similar in D8. Copy page.html.twig from core or base theme and put it into the template directory of your theme.

Rename it like this:

  • How do I access the user account fields in this template. I want to access the email, picture and some other fields that I have added to the Drupal user account ?
    – AkiShankar
    Aug 12, 2016 at 7:49

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.