You are here

function signup_admin_form_after_build in Signup 7

1 string reference to 'signup_admin_form_after_build'
signup_admin_form in includes/admin.signup_administration.inc
Form builder for the main form on the signup administration page.

File

includes/admin.signup_administration.inc, line 172
Code related to the Signup administration page (admin/content/signup).

Code

function signup_admin_form_after_build($form) {
  $limit = $form['limit'];
  $status = $form['status'];
  $options = $form['nodes']['#options'];
  foreach ($options as $nid => $node) {
    $options[$nid]['limit'] = array(
      'data' => $limit[$nid],
    );
    $options[$nid]['status'] = array(
      'data' => $status[$nid],
    );
  }
  $form['nodes']['#options'] = $options;
  unset($form['limit'], $form['status']);
  return $form;
}