You are here

function scs_form_alter in Simplenews Content Selection 6

Same name and namespace in other branches
  1. 6.2 scs.module \scs_form_alter()
  2. 7 scs.module \scs_form_alter()

File

./scs.module, line 64

Code

function scs_form_alter(&$form, &$form_state, $form_id) {
  if ($form_id == 'node_admin_content') {
    $form['admin']['options']['operation']['#options']['scs'] = t('Create newsletter');
    $form['admin']['options']['submit']['#submit'][] = 'scs_admin_content_node_submit';
  }
}