You are here

public function LibraryItemRevisionRevertForm::getConfirmText in Paragraphs 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

modules/paragraphs_library/src/Form/LibraryItemRevisionRevertForm.php, line 158

Class

LibraryItemRevisionRevertForm

Namespace

Drupal\paragraphs_library\Form

Code

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