public function BookRemoveForm::getConfirmText in Drupal 10
Same name and namespace in other branches
- 8 core/modules/book/src/Form/BookRemoveForm.php \Drupal\book\Form\BookRemoveForm::getConfirmText()
- 9 core/modules/book/src/Form/BookRemoveForm.php \Drupal\book\Form\BookRemoveForm::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/ book/ src/ Form/ BookRemoveForm.php, line 82
Class
- BookRemoveForm
- Remove form for book module.
Namespace
Drupal\book\FormCode
public function getConfirmText() {
return $this
->t('Remove');
}