You are here

public function TrueFalseActivityAnswer::getAnswerResultItemHeaders in Opigno module 3.x

Same name and namespace in other branches
  1. 8 src/Plugin/ActivityAnswer/TrueFalseActivityAnswer.php \Drupal\opigno_module\Plugin\ActivityAnswer\TrueFalseActivityAnswer::getAnswerResultItemHeaders()

File

src/Plugin/ActivityAnswer/TrueFalseActivityAnswer.php, line 57

Class

TrueFalseActivityAnswer
Class TrueFalseActivityAnswer.

Namespace

Drupal\opigno_module\Plugin\ActivityAnswer

Code

public function getAnswerResultItemHeaders(OpignoAnswerInterface $answer) {
  return [
    $this
      ->t('Your answer'),
    $this
      ->t('Choice'),
    $this
      ->t('Correct?'),
  ];
}