You are here

public function ContentUpdateConfirmForm::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 ContentConfirmForm::getConfirmText

File

gathercontent_ui/src/Form/ContentUpdateConfirmForm.php, line 48

Class

ContentUpdateConfirmForm
Provides a node deletion confirmation form.

Namespace

Drupal\gathercontent_ui\Form

Code

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