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