You are here

public function ContentConfirmForm::getConfirmText in GatherContent 8.3

Returns a caption for the button that confirms the action.

Return value

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

Overrides ConfirmFormBase::getConfirmText

2 methods override ContentConfirmForm::getConfirmText()
ContentUpdateConfirmForm::getConfirmText in src/Form/ContentUpdateConfirmForm.php
Returns a caption for the button that confirms the action.
ContentUploadConfirmForm::getConfirmText in src/Form/ContentUploadConfirmForm.php
Returns a caption for the button that confirms the action.

File

src/Form/ContentConfirmForm.php, line 104

Class

ContentConfirmForm
Provides a node deletion confirmation form.

Namespace

Drupal\gathercontent\Form

Code

public function getConfirmText() {
  return $this
    ->t('Continue');
}