abstract public function QuizQuestion::getCreationForm in Quiz 8.4
Get the form used to create a new question.
Parameters
FAPI form state:
Return value
Must return a FAPI array.
1 call to QuizQuestion::getCreationForm()
- QuizQuestion::getNodeForm in question_types/
quiz_question/ lib/ Drupal/ quiz_question/ QuizQuestion.php - Returns a node form to quiz_question_form
8 methods override QuizQuestion::getCreationForm()
- ClozeQuestion::getCreationForm in question_types/
cloze/ lib/ Drupal/ cloze/ ClozeQuestion.php - Implementation of getCreationForm
- DDLinesQuestion::getCreationForm in question_types/
quiz_ddlines/ lib/ Drupal/ quiz_ddlines/ DDLinesQuestion.php - Get the form used to create a new question.
- LongAnswerQuestion::getCreationForm in question_types/
long_answer/ lib/ Drupal/ long_answer/ LongAnswerQuestion.php - Implementation of getCreationForm
- MatchingQuestion::getCreationForm in question_types/
matching/ lib/ Drupal/ matching/ MatchingQuestion.php - Implementation of getCreationForm
- MultichoiceQuestion::getCreationForm in question_types/
multichoice/ lib/ Drupal/ multichoice/ MultichoiceQuestion.php - Implementation of getCreationForm
File
- question_types/
quiz_question/ lib/ Drupal/ quiz_question/ QuizQuestion.php, line 475 - Classes used in the Quiz Question module.
Class
- QuizQuestion
- A base implementation of a quiz_question, adding a layer of abstraction between the node API, quiz API and the question types.
Namespace
Drupal\quiz_questionCode
public abstract function getCreationForm(array &$form_state = NULL);