You are here

public function PercentageTaxRate::getSummary in Ubercart 8.4

Returns a short description of this tax rate.

Return value

string The description.

Overrides TaxRatePluginInterface::getSummary

File

uc_tax/src/Plugin/Ubercart/TaxRate/PercentageTaxRate.php, line 83

Class

PercentageTaxRate
Defines the fixed percentage tax rate.

Namespace

Drupal\uc_tax\Plugin\Ubercart\TaxRate

Code

public function getSummary() {
  return $this
    ->t('Rate: @rate%', [
    '@rate' => $this->configuration['rate'],
  ]);
}