public function ModalDeleteForm::getConfirmText in Modal 8.2
Same name and namespace in other branches
- 8.3 src/Form/ModalDeleteForm.php \Drupal\modal_page\Form\ModalDeleteForm::getConfirmText()
- 5.0.x src/Form/ModalDeleteForm.php \Drupal\modal_page\Form\ModalDeleteForm::getConfirmText()
- 4.0.x src/Form/ModalDeleteForm.php \Drupal\modal_page\Form\ModalDeleteForm::getConfirmText()
- 4.1.x src/Form/ModalDeleteForm.php \Drupal\modal_page\Form\ModalDeleteForm::getConfirmText()
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides ContentEntityConfirmFormBase::getConfirmText
File
- src/
Form/ ModalDeleteForm.php, line 31
Class
- ModalDeleteForm
- Class: ModalDeleteForm.
Namespace
Drupal\modal_page\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}