public function QuizFeedbackType::updateFromComponent in Quiz 6.x
Same name and namespace in other branches
- 8.6 src/Entity/QuizFeedbackType.php \Drupal\quiz\Entity\QuizFeedbackType::updateFromComponent()
- 8.5 src/Entity/QuizFeedbackType.php \Drupal\quiz\Entity\QuizFeedbackType::updateFromComponent()
File
- src/
Entity/ QuizFeedbackType.php, line 82
Class
- QuizFeedbackType
- Defines the quiz type entity class.
Namespace
Drupal\quiz\EntityCode
public function updateFromComponent(RulesComponent $component) {
$this->component = $component
->getConfiguration();
$this->componentObject = $component;
return $this;
}