Drupal 8/9 Add a new tab to the user login page

In case an extra tab was required on the user pages at that time to create an extra controller in module_name.routing.yml and add the following snippet to module_name.links.task.yml of custom module.

For example to add welcome_page as an extra tab to the user login page.

output:-"Login - Create a new account - Reset your password - Welcome page" as tabs.
copy-icon
copy-icon
copy-icon

Comments

Authors

Read Next