You are here

public function SupportTicketRevisionDeleteForm::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/SupportTicketRevisionDeleteForm.php, line 103
Contains \Drupal\support_ticket\Form\SupportTicketRevisionDeleteForm.

Class

SupportTicketRevisionDeleteForm
Provides a form for reverting a support ticket revision.

Namespace

Drupal\support_ticket\Form

Code

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