You are here

function multiple_email_edit_page in Multiple E-mail Addresses 7

Same name and namespace in other branches
  1. 6 multiple_email_edit_page.inc \multiple_email_edit_page()
  2. 2.x multiple_email_edit_page.inc \multiple_email_edit_page()

Renders the page for adding a new e-mail address.

Parameters

object $account: Loaded user account object.

object $email: Loaded e-mail object.

Return value

string

1 string reference to 'multiple_email_edit_page'
multiple_email_menu in ./multiple_email.module
Implements hook_menu().

File

./multiple_email_edit_page.inc, line 18
Functions for the page to edit an existing e-mail address in the registry.

Code

function multiple_email_edit_page($account, $email) {
  menu_set_active_item('user/' . $account->uid . '/edit/email-addresses');
  return drupal_get_form('multiple_email_edit_form', $account, $email);
}