You are here

class ShortAnswerController in Quiz 8.4

Hierarchy

Expanded class hierarchy of ShortAnswerController

File

question_types/short_answer/lib/Drupal/short_answer/Controller/ShortAnswerController.php, line 11

Namespace

Drupal\short_answer\Controller
View source
class ShortAnswerController implements ContainerInjectionInterface {
  public static function create(ContainerInterface $container) {
    return new static($container
      ->get('module_handler'));
  }
  public function scoreShortAnswer() {
    module_load_include('admin.inc', 'short_answer');
    return short_answer_view_unscored();
  }
  public function scoreShortAnswerPages($vid, $rid) {
    module_load_include('admin.inc', 'short_answer');
    return short_answer_edit_score($vid, $rid);
  }

}

Members