You are here

public function ShippingQuoteMethodDeleteForm::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

shipping/uc_quote/src/Form/ShippingQuoteMethodDeleteForm.php, line 31

Class

ShippingQuoteMethodDeleteForm
Builds the form to delete shipping quote method entities.

Namespace

Drupal\uc_quote\Form

Code

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