function course_edit_enrollment_action_submit in Course 7
Same name and namespace in other branches
- 6 course.module \course_edit_enrollment_action_submit()
- 7.2 course.module \course_edit_enrollment_action_submit()
Submit handler for course_edit_enrollment_action_form().
File
- ./
course.module, line 2111 - course.module Core functionality for Courses.
Code
function course_edit_enrollment_action_submit($form, $form_state) {
return array(
'enroll_end' => $form_state['values']['enroll_end'],
'status' => $form_state['values']['status'],
'complete' => $form_state['values']['complete'],
'timestamp' => $form_state['values']['timestamp'],
'date_completed' => $form_state['values']['date_completed'],
'course_objects' => $form_state['values']['course_objects'],
);
}