function print_mail_mollom_form_info in Printer, email and PDF versions 7.2
Same name and namespace in other branches
- 6 print_mail/print_mail.module \print_mail_mollom_form_info()
- 7 print_mail/print_mail.module \print_mail_mollom_form_info()
Implemenents hook_mollom_form_info().
File
- print_mail/
print_mail.module, line 349 - Displays Printer-friendly versions of Drupal pages.
Code
function print_mail_mollom_form_info($form_id) {
$form_info = array();
switch ($form_id) {
case 'print_mail_form':
$form_info = array(
'elements' => array(
'fld_from_addr' => t('Sender email'),
'fld_from_name' => t('Sender name'),
'txt_to' => t('Recipients'),
'fld_subject' => t('Subject'),
'fld_title' => t('Page to be sent'),
'txt_message' => t('Your message'),
),
'mapping' => array(
'post_title' => 'fld_title',
'author_name' => 'fld_from_name',
'author_mail' => 'fld_from_addr',
),
);
break;
}
return $form_info;
}