public function CandidateNodesRevisionsDeleteForm::getConfirmText in Node Revision Delete 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/ CandidateNodesRevisionsDeleteForm.php, line 87
Class
- CandidateNodesRevisionsDeleteForm
- Provides a candidate node revision deletion confirmation form.
Namespace
Drupal\node_revision_delete\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}