You are here

public function ShipmentDeleteForm::getCancelText in Ubercart 8.4

Returns a caption for the link which cancels the action.

Return value

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

Overrides ConfirmFormBase::getCancelText

File

shipping/uc_fulfillment/src/Form/ShipmentDeleteForm.php, line 89

Class

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

Namespace

Drupal\uc_fulfillment\Form

Code

public function getCancelText() {
  return $this
    ->t('Cancel');
}