You are here

public function ShipmentDeleteForm::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/ShipmentDeleteForm.php, line 82

Class

ShipmentDeleteForm
Decides to release packages to be put on another shipment.

Namespace

Drupal\uc_fulfillment\Form

Code

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