public function LingotekAccount::getPlanTypeText in Lingotek Translation 8
File
- src/
LingotekAccount.php, line 106 - Defines LingotekAccount.
Class
Namespace
Drupal\lingotekCode
public function getPlanTypeText() {
$plan_pieces = explode('_', $this
->getPlanType());
$details = ucwords(end($plan_pieces));
// e.g., Enterprise, Monthly, Yearly
return $details;
}