You are here

function forward_mollom_form_info in Forward 6

Same name and namespace in other branches
  1. 8.3 forward.module \forward_mollom_form_info()
  2. 8 forward.module \forward_mollom_form_info()
  3. 7.3 forward.module \forward_mollom_form_info()
  4. 7 forward.module \forward_mollom_form_info()
  5. 7.2 forward.module \forward_mollom_form_info()

Implements hook_mollom_form_info().

File

./forward.module, line 1436

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(
          'author_name' => 'name',
          'author_mail' => 'email',
        ),
      );
      return $form_info;
  }
}