You are here

public function LingotekAccount::getPlanTypeText in Lingotek Translation 8

File

src/LingotekAccount.php, line 106
Defines LingotekAccount.

Class

LingotekAccount

Namespace

Drupal\lingotek

Code

public function getPlanTypeText() {
  $plan_pieces = explode('_', $this
    ->getPlanType());
  $details = ucwords(end($plan_pieces));

  // e.g., Enterprise, Monthly, Yearly
  return $details;
}