public function ScheduleRevisionRevertForm::getConfirmText in Business Rules 8
Same name and namespace in other branches
- 2.x src/Form/ScheduleRevisionRevertForm.php \Drupal\business_rules\Form\ScheduleRevisionRevertForm::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/ ScheduleRevisionRevertForm.php, line 89
Class
- ScheduleRevisionRevertForm
- Provides a form for reverting a Schedule revision.
Namespace
Drupal\business_rules\FormCode
public function getConfirmText() {
return t('Revert');
}