public function HeartbeatStreamRevisionDeleteForm::getConfirmText in Heartbeat 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/ HeartbeatStreamRevisionDeleteForm.php, line 89
Class
- HeartbeatStreamRevisionDeleteForm
- Provides a form for deleting a Heartbeat stream revision.
Namespace
Drupal\heartbeat\FormCode
public function getConfirmText() {
return t('Delete');
}