function privatemsg_mollom_form_info

7-2 privatemsg.module privatemsg_mollom_form_info()
6-2 privatemsg.module privatemsg_mollom_form_info()

Implements hook_mollom_form_info().

File

./privatemsg.module, line 3365
Allows users to send private messages to other users.

Code

function privatemsg_mollom_form_info() {
  $form_info = array(
    'mode' => MOLLOM_MODE_ANALYSIS,
    'bypass access' => array('administer privatemsg'),
    'report access' => array('report private messages to mollom'),
    'elements' => array(
      'subject' => t('Subject'),
      'body' => t('Body'),
    ),
    'mapping' => array(
      'post_id' => 'mid',
      'post_title' => 'subject',
    ),
  );

  return $form_info;
}