abstract public function QuizQuestion::saveNodeProperties in Quiz 8.4
Save question type specific node properties
1 call to QuizQuestion::saveNodeProperties()
- QuizQuestion::save in question_types/
quiz_question/ lib/ Drupal/ quiz_question/ QuizQuestion.php - Responsible for handling insert/update of question-specific data. This is typically called from within the Node API, so there is no need to save the node.
8 methods override QuizQuestion::saveNodeProperties()
- ClozeQuestion::saveNodeProperties in question_types/
cloze/ lib/ Drupal/ cloze/ ClozeQuestion.php - Implementation of saveNodeProperties
- DDLinesQuestion::saveNodeProperties in question_types/
quiz_ddlines/ lib/ Drupal/ quiz_ddlines/ DDLinesQuestion.php - Save question type specific node properties
- LongAnswerQuestion::saveNodeProperties in question_types/
long_answer/ lib/ Drupal/ long_answer/ LongAnswerQuestion.php - Implementation of saveNodeProperties
- MatchingQuestion::saveNodeProperties in question_types/
matching/ lib/ Drupal/ matching/ MatchingQuestion.php - Implementation of saveNodeProperties
- MultichoiceQuestion::saveNodeProperties in question_types/
multichoice/ lib/ Drupal/ multichoice/ MultichoiceQuestion.php - Implementation of save
File
- question_types/
quiz_question/ lib/ Drupal/ quiz_question/ QuizQuestion.php, line 485 - 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 saveNodeProperties($is_new = FALSE);