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