public function OpignoAnswer::getType in Opigno module 8
Same name and namespace in other branches
- 3.x src/Entity/OpignoAnswer.php \Drupal\opigno_module\Entity\OpignoAnswer::getType()
Gets the Answer type.
Return value
string The Answer type.
Overrides OpignoAnswerInterface::getType
File
- src/
Entity/ OpignoAnswer.php, line 90
Class
- OpignoAnswer
- Defines the Answer entity.
Namespace
Drupal\opigno_module\EntityCode
public function getType() {
return $this
->bundle();
}