public function PollVoteDeleteForm::getConfirmText in Poll 8
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides ContentEntityConfirmFormBase::getConfirmText
File
- src/
Form/ PollVoteDeleteForm.php, line 34
Class
- PollVoteDeleteForm
- Provides a form for deleting a vote.
Namespace
Drupal\poll\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}