function ConfirmFormBase::getConfirmText
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Form/ConfirmFormBase.php \Drupal\Core\Form\ConfirmFormBase::getConfirmText()
- 10 core/lib/Drupal/Core/Form/ConfirmFormBase.php \Drupal\Core\Form\ConfirmFormBase::getConfirmText()
- 8.9.x core/lib/Drupal/Core/Form/ConfirmFormBase.php \Drupal\Core\Form\ConfirmFormBase::getConfirmText()
6 methods override ConfirmFormBase::getConfirmText()
- ConfigTranslationDeleteForm::getConfirmText in core/
modules/ config_translation/ src/ Form/ ConfigTranslationDeleteForm.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.
- ModulesUninstallConfirmForm::getConfirmText in core/
modules/ system/ src/ Form/ ModulesUninstallConfirmForm.php - Returns a caption for the button that confirms the action.
- RemoveBlockForm::getConfirmText in core/
modules/ layout_builder/ src/ Form/ RemoveBlockForm.php - Returns a caption for the button that confirms the action.
- RemoveSectionForm::getConfirmText in core/
modules/ layout_builder/ src/ Form/ RemoveSectionForm.php - Returns a caption for the button that confirms the action.
File
-
core/
lib/ Drupal/ Core/ Form/ ConfirmFormBase.php, line 20
Class
- ConfirmFormBase
- Provides a generic base class for a confirmation form.
Namespace
Drupal\Core\FormCode
public function getConfirmText() {
return $this->t('Confirm');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.