You are here

public function ScheduleRevisionDeleteForm::getConfirmText in Business Rules 8

Same name and namespace in other branches
  1. 2.x src/Form/ScheduleRevisionDeleteForm.php \Drupal\business_rules\Form\ScheduleRevisionDeleteForm::getConfirmText()

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/ScheduleRevisionDeleteForm.php, line 89

Class

ScheduleRevisionDeleteForm
Provides a form for deleting a Schedule revision.

Namespace

Drupal\business_rules\Form

Code

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