public function ModulesUninstallConfirmForm::getConfirmText in Drupal 9
Same name and namespace in other branches
- 8 core/modules/system/src/Form/ModulesUninstallConfirmForm.php \Drupal\system\Form\ModulesUninstallConfirmForm::getConfirmText()
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides ConfirmFormBase::getConfirmText
File
- core/
modules/ system/ src/ Form/ ModulesUninstallConfirmForm.php, line 111
Class
- ModulesUninstallConfirmForm
- Builds a confirmation form to uninstall selected modules.
Namespace
Drupal\system\FormCode
public function getConfirmText() {
return $this
->t('Uninstall');
}