You are here

public function PackageDeleteForm::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 ConfirmFormBase::getConfirmText

File

shipping/uc_fulfillment/src/Form/PackageDeleteForm.php, line 54

Class

PackageDeleteForm
Decides to unpackage products.

Namespace

Drupal\uc_fulfillment\Form

Code

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