public function ModulesListConfirmForm::getConfirmText in Drupal 9
Same name and namespace in other branches
- 8 core/modules/system/src/Form/ModulesListConfirmForm.php \Drupal\system\Form\ModulesListConfirmForm::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/ ModulesListConfirmForm.php, line 94
Class
- ModulesListConfirmForm
- Builds a confirmation form for enabling modules with dependencies.
Namespace
Drupal\system\FormCode
public function getConfirmText() {
return $this
->t('Continue');
}