You are here

public function ContentUploadConfirmForm::getCancelText in GatherContent 8.3

Returns a caption for the link which cancels the action.

Return value

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

Overrides ContentConfirmForm::getCancelText

File

src/Form/ContentUploadConfirmForm.php, line 46

Class

ContentUploadConfirmForm
Provides a node deletion confirmation form.

Namespace

Drupal\gathercontent\Form

Code

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