public function GDPRTask::getOwner in General Data Protection Regulation 7
Gets the user that the task belongs to.
Overrides GDPRTaskInterface::getOwner
File
- modules/
gdpr_tasks/ src/ Entity/ GDPRTask.php, line 93
Class
- GDPRTask
- The Task entity class.
Code
public function getOwner() {
return user_load($this->user_id);
}