protected function DeleteForm::getConfirmText

Same name in this branch
  1. 8.x drupal/core/modules/forum/lib/Drupal/forum/Form/DeleteForm.php \Drupal\forum\Form\DeleteForm::getConfirmText()
  2. 8.x drupal/core/modules/contact/lib/Drupal/contact/Form/DeleteForm.php \Drupal\contact\Form\DeleteForm::getConfirmText()
  3. 8.x drupal/core/modules/views_ui/lib/Drupal/views_ui/Form/DeleteForm.php \Drupal\views_ui\Form\DeleteForm::getConfirmText()
  4. 8.x drupal/core/modules/action/lib/Drupal/action/Form/DeleteForm.php \Drupal\action\Form\DeleteForm::getConfirmText()

Returns a caption for the button that confirms the action.

Return value

string The form confirmation text.

Overrides ConfirmFormBase::getConfirmText

File

drupal/core/modules/forum/lib/Drupal/forum/Form/DeleteForm.php, line 49
Contains \Drupal\forum\Form\DeleteForm.

Class

DeleteForm
Builds the form to delete a forum term.

Namespace

Drupal\forum\Form

Code

protected function getConfirmText() {
  return t('Delete');
}