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