public function MeetingResult::getStatusString in Opigno Moxtra 8
Same name and namespace in other branches
- 3.x src/Entity/MeetingResult.php \Drupal\opigno_moxtra\Entity\MeetingResult::getStatusString()
Returns the user status as string.
Return value
string|null The user status, or NULL in case the user status field has not been set on the entity.
Overrides MeetingResultInterface::getStatusString
File
- src/
Entity/ MeetingResult.php, line 116
Class
- MeetingResult
- Defines the Workspace entity.
Namespace
Drupal\opigno_moxtra\EntityCode
public function getStatusString() {
return $this
->get('status')->value == 1 ? t('Attended') : t('Absent');
}