You are here

public function CourseObjectPoll::optionsDefinition in Course 7

Same name and namespace in other branches
  1. 7.2 modules/course_poll/course_poll.classes.inc \CourseObjectPoll::optionsDefinition()

Define configuration elements and their defaults.

Extended classes should call parent::optionsDefinition first to get the parent's configuration.

Overrides CourseObjectNode::optionsDefinition

File

modules/course_poll/course_poll.classes.inc, line 12

Class

CourseObjectPoll
Parent class for poll tracking.

Code

public function optionsDefinition() {
  $options = parent::optionsDefinition();
  $options['use_node_title'] = 1;
  return $options;
}