public function FlagForListDeleteForm::getConfirmText in Flag Lists 4.0.x
Same name and namespace in other branches
- 8 src/Form/FlagForListDeleteForm.php \Drupal\flag_lists\Form\FlagForListDeleteForm::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/ FlagForListDeleteForm.php, line 68
Class
- FlagForListDeleteForm
- Builds the form to delete Flag for list entities.
Namespace
Drupal\flag_lists\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}