You are here

public function CourseObjectSignup::optionsForm in Course 7

Same name and namespace in other branches
  1. 6 modules/course_signup/course_signup.classes.inc \CourseObjectSignup::optionsForm()
  2. 7.2 modules/course_signup/course_signup.classes.inc \CourseObjectSignup::optionsForm()

Default options form for all course objects.

Overrides CourseObjectNode::optionsForm

File

modules/course_signup/course_signup.classes.inc, line 31

Class

CourseObjectSignup

Code

public function optionsForm(&$form, &$form_state) {
  parent::optionsForm($form, $form_state);
  $form['node']['instance']['#title'] = t('Signup to check');
  $form['node']['instance']['#description'] .= ' ' . t('Node must be signup-enabled. Defaults to this course.');
}