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 '16 at 8:53

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

| improve this answer | |

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.