function CourseObjectAttendance::getOptionsSummary in Course 3.x
Get core options summary.
Return value
array An associative array of summary keys and values.
Overrides CourseObject::getOptionsSummary
File
- modules/
course_attendance/ src/ Plugin/ course/ CourseObject/ CourseObjectAttendance.php, line 202
Class
- CourseObjectAttendance
- Plugin annotation @CourseObject( id = "attendance", label = "Attendance", )
Namespace
Drupal\course_attendance\Plugin\course\CourseObjectCode
function getOptionsSummary() {
$summary = parent::getOptionsSummary();
$summary['instance'] = t('Code: @code', [
'@code' => $this
->getOption('instance'),
]);
return $summary;
}