public function CourseObjectPoll::getReports in Course 8.2
Same name and namespace in other branches
- 8.3 modules/course_poll/src/Course/Object/CourseObjectPoll.php \Drupal\course_poll\Course\Object\CourseObjectPoll::getReports()
File
- modules/
course_poll/ src/ Course/ Object/ CourseObjectPoll.php, line 51
Class
- CourseObjectPoll
- Parent class for poll tracking.
Namespace
Drupal\course_poll\Course\ObjectCode
public function getReports() {
$reports = parent::getReports();
$reports += array(
'results' => array(
'title' => 'Results',
),
'all' => array(
'title' => 'List votes',
),
);
return $reports;
}