class LongAnswerController in Quiz 8.4
Hierarchy
- class \Drupal\long_answer\Controller\LongAnswerController implements ContainerInjectionInterface
Expanded class hierarchy of LongAnswerController
File
- question_types/
long_answer/ lib/ Drupal/ long_answer/ Controller/ LongAnswerController.php, line 11
Namespace
Drupal\long_answer\ControllerView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
LongAnswerController:: |
public static | function |
Instantiates a new instance of this class. Overrides ContainerInjectionInterface:: |
|
LongAnswerController:: |
public | function | ||
LongAnswerController:: |
public | function |