public function ConfirmFormBase::getConfirmText in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Form/ConfirmFormBase.php \Drupal\Core\Form\ConfirmFormBase::getConfirmText()
Returns a caption for the button that confirms the action.
Return value
string The form confirmation text.
Overrides ConfirmFormInterface::getConfirmText
1 call to ConfirmFormBase::getConfirmText()
- ConfirmFormBase::buildForm in core/
lib/ Drupal/ Core/ Form/ ConfirmFormBase.php - Form constructor.
16 methods override ConfirmFormBase::getConfirmText()
- BanDelete::getConfirmText in core/
modules/ ban/ src/ Form/ BanDelete.php - Returns a caption for the button that confirms the action.
- BookRemoveForm::getConfirmText in core/
modules/ book/ src/ Form/ BookRemoveForm.php - Returns a caption for the button that confirms the action.
- ConfigTranslationDeleteForm::getConfirmText in core/
modules/ config_translation/ src/ Form/ ConfigTranslationDeleteForm.php - Returns a caption for the button that confirms the action.
- ConfirmDeleteMultiple::getConfirmText in core/
modules/ comment/ src/ Form/ ConfirmDeleteMultiple.php - Returns a caption for the button that confirms the action.
- ConfirmFormTestForm::getConfirmText in core/
modules/ system/ tests/ modules/ form_test/ src/ ConfirmFormTestForm.php - Returns a caption for the button that confirms the action.
File
- core/
lib/ Drupal/ Core/ Form/ ConfirmFormBase.php, line 25 - Contains \Drupal\Core\Form\ConfirmFormBase.
Class
- ConfirmFormBase
- Provides an generic base class for a confirmation form.
Namespace
Drupal\Core\FormCode
public function getConfirmText() {
return $this
->t('Confirm');
}