You are here

public function LingotekAccount::getEnterpriseStatusText in Lingotek Translation 7.3

Same name and namespace in other branches
  1. 7.2 lib/Drupal/lingotek/LingotekAccount.php \LingotekAccount::getEnterpriseStatusText()
  2. 7.4 lib/Drupal/lingotek/LingotekAccount.php \LingotekAccount::getEnterpriseStatusText()

File

lib/Drupal/lingotek/LingotekAccount.php, line 116
Defines LingotekAccount.

Class

LingotekAccount
A class representing a Lingotek Account

Code

public function getEnterpriseStatusText() {
  return $this
    ->isPlanType(self::ENTERPRISE) ? '<span style="color: green;">Yes</span>' : '<span>No</span>';
}