I would like to not render the request new password tab (/user/password), when I am not the log in page (/user). In which template file does drupal get told to render the create new account/log in/request new password page? Drupal 7, Bartik.

  • It does not work like this. Forms are not built in template files.
    – Mołot
    Jan 20, 2016 at 8:53

1 Answer 1


They are just menus. You can find those menus and their page callback in drupal core user module at hook_menu section.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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