You are here

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

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

File

src/Entity/OpignoAnswer.php, line 142

Class

OpignoAnswer
Defines the Answer entity.

Namespace

Drupal\opigno_module\Entity

Code

public function getActivity() {
  return $this
    ->get('activity')->entity;
}