You are here

public function FlaggingCollectionRevisionDeleteForm::getConfirmText in Flag Lists 4.0.x

Same name and namespace in other branches
  1. 8 src/Form/FlaggingCollectionRevisionDeleteForm.php \Drupal\flag_lists\Form\FlaggingCollectionRevisionDeleteForm::getConfirmText()

Returns a caption for the button that confirms the action.

Return value

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

Overrides ConfirmFormBase::getConfirmText

File

src/Form/FlaggingCollectionRevisionDeleteForm.php, line 89

Class

FlaggingCollectionRevisionDeleteForm
Provides a form for deleting a Flagging collection revision.

Namespace

Drupal\flag_lists\Form

Code

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