public function RevisionRevertForm::getConfirmText in Entity API 8
Same name and namespace in other branches
- 8.0 src/Form/RevisionRevertForm.php \Drupal\entity\Form\RevisionRevertForm::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/ RevisionRevertForm.php, line 90
Class
Namespace
Drupal\entity\FormCode
public function getConfirmText() {
return $this
->t('Revert');
}