You are here

public function CourseObjectPoll::optionsDefinition in Course 8.2

Same name and namespace in other branches
  1. 8.3 modules/course_poll/src/Course/Object/CourseObjectPoll.php \Drupal\course_poll\Course\Object\CourseObjectPoll::optionsDefinition()

File

modules/course_poll/src/Course/Object/CourseObjectPoll.php, line 22

Class

CourseObjectPoll
Parent class for poll tracking.

Namespace

Drupal\course_poll\Course\Object

Code

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