You are here

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

gathercontent_ui/src/Form/ContentConfirmForm.php, line 110

Class

ContentConfirmForm
Provides a node deletion confirmation form.

Namespace

Drupal\gathercontent_ui\Form

Code

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