You are here

public function UserRevisionDeleteForm::getConfirmText in User Revision 8

Returns a caption for the button that confirms the action.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.

Overrides ConfirmFormBase::getConfirmText

File

src/Form/UserRevisionDeleteForm.php, line 75

Class

UserRevisionDeleteForm
Provides a form for delete a user revision.

Namespace

Drupal\user_revision\Form

Code

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