You are here

public function OpignoAnswer::isEvaluated in Opigno module 8

Same name and namespace in other branches
  1. 3.x src/Entity/OpignoAnswer.php \Drupal\opigno_module\Entity\OpignoAnswer::isEvaluated()

File

src/Entity/OpignoAnswer.php, line 171

Class

OpignoAnswer
Defines the Answer entity.

Namespace

Drupal\opigno_module\Entity

Code

public function isEvaluated() {
  return (bool) $this
    ->get('evaluated')->value;
}