You are here

public function DeleteForm::getConfirmText in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/forum/src/Form/DeleteForm.php \Drupal\forum\Form\DeleteForm::getConfirmText()

Returns a caption for the button that confirms the action.

Return value

string The form confirmation text.

Overrides ConfirmFormBase::getConfirmText

File

core/modules/forum/src/Form/DeleteForm.php, line 51
Contains \Drupal\forum\Form\DeleteForm.

Class

DeleteForm
Builds the form to delete a forum term.

Namespace

Drupal\forum\Form

Code

public function getConfirmText() {
  return $this
    ->t('Delete');
}