You are here

public function OpignoAnswer::getType in Opigno module 8

Same name and namespace in other branches
  1. 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\Entity

Code

public function getType() {
  return $this
    ->bundle();
}