You are here

class LongAnswerController in Quiz 8.4

Hierarchy

Expanded class hierarchy of LongAnswerController

File

question_types/long_answer/lib/Drupal/long_answer/Controller/LongAnswerController.php, line 11

Namespace

Drupal\long_answer\Controller
View source
class LongAnswerController implements ContainerInjectionInterface {
  public static function create(ContainerInterface $container) {
    return new static($container
      ->get('module_handler'));
  }
  public function scoreLongAnswer() {
    module_load_include('admin.inc', 'long_answer');
    return long_answer_view_unscored();
  }
  public function scoreLongAnswerPage($vid, $rid) {
    module_load_include('admin.inc', 'long_answer');
    return long_answer_edit_score($vid, $rid);
  }

}

Members