You are here

public function FlaggingCollectionTypeDeleteForm::getConfirmText in Flag Lists 8

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

Returns a caption for the button that confirms the action.

Return value

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

Overrides EntityConfirmFormBase::getConfirmText

File

src/Form/FlaggingCollectionTypeDeleteForm.php, line 31

Class

FlaggingCollectionTypeDeleteForm
Builds the form to delete Flagging collection type entities.

Namespace

Drupal\flag_lists\Form

Code

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