You are here

public function LingotekAccount::getStatusText in Lingotek Translation 8

File

src/LingotekAccount.php, line 74
Defines LingotekAccount.

Class

LingotekAccount

Namespace

Drupal\lingotek

Code

public function getStatusText() {
  return $this->status == 'active' ? '<span style="color: green;">' . t('Active') . '</span>' : '<span style="color: red;">' . t('Inactive') . '</span>';
}