You are here

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

Class

PackageDeleteForm
Decides to unpackage products.

Namespace

Drupal\uc_fulfillment\Form

Code

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