You are here

function course_edit_enrollment_action_submit in Course 6

Same name and namespace in other branches
  1. 7.2 course.module \course_edit_enrollment_action_submit()
  2. 7 course.module \course_edit_enrollment_action_submit()

Submit handler for course_edit_enrollment_action_form().

File

./course.module, line 2063
course.module Core functionality for Courses.

Code

function course_edit_enrollment_action_submit($form, $form_state) {
  return array(
    'enrol_end' => $form_state['values']['enrol_end'],
    'status' => $form_state['values']['status'],
    'complete' => $form_state['values']['complete'],
    'date_completed' => $form_state['values']['date_completed'],
    'course_objects' => $form_state['values']['course_objects'],
  );
}