You are here

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

Class

FileDeleteForm
Performs delete file action.

Namespace

Drupal\uc_file\Form

Code

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