atrcode_form_atr_form_review_alter

Versions
6.1
atrcode_form_atr_form_review_alter(&$form, &$form_state)

Implementation of hook_form_FORM_ID_alter().

Code

atr/modules/atrcode/atrcode.module, line 20

<?php
function atrcode_form_atr_form_review_alter(&$form, &$form_state) {
  array_unshift($form['#submit'], 'atrcode_atr_form_review_submit');
  $form['atrcode']['settings']['atrcode_files'] = array(
    '#type' => 'atr_file',
    '#title' => t('Files'),
    '#default_value' => NULL,
  );
  $form['atrcode']['settings']['atrcode_api_version'] = array(
    '#type' => 'select',
    '#title' => t('API version'),
    '#options' => array(
      5 => 'Drupal 5',
      6 => 'Drupal 6',
      7 => 'Drupal 7',
    ),
  );
}
?>