public function LingotekAccount::getStatusText in Lingotek Translation 7.2
Same name and namespace in other branches
- 7.7 lib/Drupal/lingotek/LingotekAccount.php \LingotekAccount::getStatusText()
- 7.3 lib/Drupal/lingotek/LingotekAccount.php \LingotekAccount::getStatusText()
- 7.4 lib/Drupal/lingotek/LingotekAccount.php \LingotekAccount::getStatusText()
- 7.5 lib/Drupal/lingotek/LingotekAccount.php \LingotekAccount::getStatusText()
- 7.6 lib/Drupal/lingotek/LingotekAccount.php \LingotekAccount::getStatusText()
File
- lib/
Drupal/ lingotek/ LingotekAccount.php, line 87 - Defines LingotekAccount.
Class
- LingotekAccount
- A class representing a Lingotek Account
Code
public function getStatusText() {
return $this->status == 'active' ? '<span style="color: green;">Active</span>' : '<span style="color: red;">Inactive</span>';
}