function forward_mollom_form_info in Forward 7.3
Same name and namespace in other branches
- 8.3 forward.module \forward_mollom_form_info()
- 8 forward.module \forward_mollom_form_info()
- 6 forward.module \forward_mollom_form_info()
- 7 forward.module \forward_mollom_form_info()
- 7.2 forward.module \forward_mollom_form_info()
Implements hook_mollom_form_info().
File
- ./
forward.module, line 974 - Allows forwarding of entities by email, and provides a record of how often each has been forwarded.
Code
function forward_mollom_form_info($form_id) {
switch ($form_id) {
case 'forward_form':
$form_info = array(
'mode' => MOLLOM_MODE_ANALYSIS,
'bypass access' => array(
'administer forward',
),
'mail ids' => array(
'forward_forward_page',
),
'elements' => array(
'message' => t('Personal Message'),
),
'mapping' => array(
'post_title' => 'title',
'author_name' => 'name',
'author_mail' => 'email',
),
);
return $form_info;
}
}