Change tab names

Needed to rename the tab on the user form.  Found a nifty way to do this by using the hook_menu_alter function.  I added this to my custom module:

function gl_customizations_menu_alter(&$items) {
 $items['user/password']['title'] = t('Email Password Request');
}

 

 

Comments

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.