function course_object_options_form in Course 6
Same name and namespace in other branches
- 7.2 course.module \course_object_options_form()
- 7 course.module \course_object_options_form()
Form API builder for course object options.
Parameters
array $form_state: Form state.
courseObject $courseObject: An initialized courseObject object.
Return value
array The FAPI array.
See also
course_object_options_form_validate()
course_object_options_form_submit()
1 string reference to 'course_object_options_form'
- course_object_options in ./
course.module - Page callback: Handles object options form for both ctools modal and nojs.
File
- ./
course.module, line 493 - course.module Core functionality for Courses.
Code
function course_object_options_form(&$form_state, $courseObject) {
$form = array();
$courseObject
->optionsForm($form, $form_state);
return $form;
}