You are here

public function ReferenceRevisionDeleteForm::getConfirmText in Bibliography & Citation 8

Same name and namespace in other branches
  1. 2.0.x modules/bibcite_entity/src/Form/ReferenceRevisionDeleteForm.php \Drupal\bibcite_entity\Form\ReferenceRevisionDeleteForm::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

modules/bibcite_entity/src/Form/ReferenceRevisionDeleteForm.php, line 104

Class

ReferenceRevisionDeleteForm
Provides a form for reverting a reference revision.

Namespace

Drupal\bibcite_entity\Form

Code

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