You are here

public function ContentConfirmForm::getConfirmText in GatherContent 8.4

Returns a caption for the button that confirms the action.

Return value

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

Overrides ConfirmFormBase::getConfirmText

1 method overrides ContentConfirmForm::getConfirmText()
ContentUpdateConfirmForm::getConfirmText in gathercontent_ui/src/Form/ContentUpdateConfirmForm.php
Returns a caption for the button that confirms the action.

File

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

Class

ContentConfirmForm
Provides a node deletion confirmation form.

Namespace

Drupal\gathercontent_ui\Form

Code

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