You are here

public function BookRemoveForm::getConfirmText in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/book/src/Form/BookRemoveForm.php \Drupal\book\Form\BookRemoveForm::getConfirmText()

Returns a caption for the button that confirms the action.

Return value

string The form confirmation text.

Overrides ConfirmFormBase::getConfirmText

File

core/modules/book/src/Form/BookRemoveForm.php, line 85
Contains \Drupal\book\Form\BookRemoveForm.

Class

BookRemoveForm
Remove form for book module.

Namespace

Drupal\book\Form

Code

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