You are here

public function UserModuleStatus::getLastActivityId in Opigno module 8

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

File

src/Entity/UserModuleStatus.php, line 169

Class

UserModuleStatus
Defines the User module status entity.

Namespace

Drupal\opigno_module\Entity

Code

public function getLastActivityId() {
  return $this
    ->get('last_activity')->target_id;
}