You are here

function CourseObjectWebform::getOptionsSummary in Course 7.2

Same name and namespace in other branches
  1. 6 modules/course_webform/course_webform.classes.inc \CourseObjectWebform::getOptionsSummary()
  2. 7 modules/course_webform/course_webform.classes.inc \CourseObjectWebform::getOptionsSummary()

Get core options summary.

Return value

array An associative array of summary keys and values.

Overrides CourseObjectNode::getOptionsSummary

File

modules/course_webform/course_webform.classes.inc, line 67

Class

CourseObjectWebform
Parent class for webform course tracking.

Code

function getOptionsSummary() {
  $summary = parent::getOptionsSummary();
  if ($this
    ->getInstanceId()) {
    $summary['questions'] = l('Edit questions', "node/{$this->getInstanceId()}/webform");
  }
  return $summary;
}