You are here

public function ContentConfirmForm::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 ConfirmFormBase::getCancelText

1 method overrides ContentConfirmForm::getCancelText()
ContentUploadConfirmForm::getCancelText in src/Form/ContentUploadConfirmForm.php
Returns a caption for the link which cancels the action.

File

src/Form/ContentConfirmForm.php, line 97

Class

ContentConfirmForm
Provides a node deletion confirmation form.

Namespace

Drupal\gathercontent\Form

Code

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