public function UserModuleStatus::getCurrentActivityId in Opigno module 8
Same name and namespace in other branches
- 3.x src/Entity/UserModuleStatus.php \Drupal\opigno_module\Entity\UserModuleStatus::getCurrentActivityId()
File
- src/Entity/ UserModuleStatus.php, line 199 
Class
- UserModuleStatus
- Defines the User module status entity.
Namespace
Drupal\opigno_module\EntityCode
public function getCurrentActivityId() {
  return $this
    ->get('current_activity')->target_id;
}