You are here

public function UserRevisionRevertForm::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/UserRevisionRevertForm.php, line 74

Class

UserRevisionRevertForm
Provides a form for reverting a user revision.

Namespace

Drupal\user_revision\Form

Code

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