public function EventRevisionRevertForm::getConfirmText in Event 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
- src/
Form/ EventRevisionRevertForm.php, line 90
Class
- EventRevisionRevertForm
- Provides a form for reverting a Event revision.
Namespace
Drupal\event\FormCode
public function getConfirmText() {
return t('Revert');
}