public function LocalTask::getAssignee in Translation Management Tool 8
Return the user assigned to this task.
Return value
\Drupal\Core\Session\AccountInterface|null The user assigned to this task or NULL if there is no user assigned.
Overrides LocalTaskInterface::getAssignee
File
- translators/
tmgmt_local/ src/ Entity/ LocalTask.php, line 159
Class
- LocalTask
- Entity class for the local task entity.
Namespace
Drupal\tmgmt_local\EntityCode
public function getAssignee() {
return $this
->get('tuid')->entity;
}