You are here

public function OpignoAnswer::getType in Opigno module 3.x

Same name and namespace in other branches
  1. 8 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();
}