You are here

public function TaxRateDeleteForm::getConfirmText in Ubercart 8.4

Returns a caption for the button that confirms the action.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.

Overrides EntityConfirmFormBase::getConfirmText

File

uc_tax/src/Form/TaxRateDeleteForm.php, line 24

Class

TaxRateDeleteForm
Deletes a tax rate.

Namespace

Drupal\uc_tax\Form

Code

public function getConfirmText() {
  return $this
    ->t('Delete tax rate');
}