public function LingotekAccount::getStatusText in Lingotek Translation 8
File
- src/
LingotekAccount.php, line 74 - Defines LingotekAccount.
Class
Namespace
Drupal\lingotekCode
public function getStatusText() {
return $this->status == 'active' ? '<span style="color: green;">' . t('Active') . '</span>' : '<span style="color: red;">' . t('Inactive') . '</span>';
}