protected function DeleteForm::getConfirmText

Same name in this branch

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');
}