public function LingotekAccount::getPlanText in Lingotek Translation 7.2
File
- lib/
Drupal/ lingotek/ LingotekAccount.php, line 127 - Defines LingotekAccount.
Class
- LingotekAccount
- A class representing a Lingotek Account
Code
public function getPlanText() {
$plan_pieces = explode('_', $this->plan);
$details = ucwords(end($plan_pieces));
// e.g., Enterprise, Monthly, Yearly
return $details;
}