You are here

function mailhandler_admin_edit in Mailhandler 5

Menu callback; handles pages for creating and editing mailboxes.

1 string reference to 'mailhandler_admin_edit'
mailhandler_menu in ./mailhandler.module
Implementation of hook_menu().

File

./mailhandler.module, line 723

Code

function mailhandler_admin_edit($mid = 0) {
  if ($mid) {
    $output = drupal_get_form('mailhandler_form', mailhandler_get_mailbox($mid));
  }
  else {
    $output = drupal_get_form('mailhandler_form');
  }
  return $output;
}