You are here

public function CourseObjectUbercart::optionsForm in Course 6

Same name and namespace in other branches
  1. 8.3 modules/course_uc/course_uc.classes.inc \CourseObjectUbercart::optionsForm()
  2. 8.2 modules/course_uc/course_uc.classes.inc \CourseObjectUbercart::optionsForm()
  3. 7.2 modules/course_uc/course_uc.classes.inc \CourseObjectUbercart::optionsForm()
  4. 7 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 32

Class

CourseObjectUbercart

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.');
}