You are here

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

uc_file/src/Form/FileUploadForm.php, line 73

Class

FileUploadForm
Performs a file upload action.

Namespace

Drupal\uc_file\Form

Code

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