You are here

public function SupportTicketRevisionRevertForm::getConfirmText in Support Ticketing System 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/support_ticket/src/Form/SupportTicketRevisionRevertForm.php, line 79
Contains \Drupal\support_ticket\Form\SupportTicketRevisionRevertForm.

Class

SupportTicketRevisionRevertForm
Provides a form for reverting a support ticket revision.

Namespace

Drupal\support_ticket\Form

Code

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