public function CourseObjectUbercart::optionsForm in Course 7
Same name and namespace in other branches
- 8.3 modules/course_uc/course_uc.classes.inc \CourseObjectUbercart::optionsForm()
- 8.2 modules/course_uc/course_uc.classes.inc \CourseObjectUbercart::optionsForm()
- 6 modules/course_uc/course_uc.classes.inc \CourseObjectUbercart::optionsForm()
- 7.2 modules/course_uc/course_uc.classes.inc \CourseObjectUbercart::optionsForm()
Default options form for all course objects.
Overrides CourseObjectNode::optionsForm
File
- modules/
course_uc/ course_uc.classes.inc, line 42
Class
Code
public function optionsForm(&$form, &$form_state) {
parent::optionsForm($form, $form_state);
$form['node']['instance']['#title'] = t('Product to check');
$form['node']['instance']['#description'] .= '</br>' . t('Use an existing ubercart-enabled product for checking payment. Defaults to this course.');
}