public function RateWidgetDeleteForm::getConfirmText in Rate 8.2
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides EntityConfirmFormBase::getConfirmText
File
- src/
Form/ RateWidgetDeleteForm.php, line 31
Class
- RateWidgetDeleteForm
- Builds the form to delete a rate widget.
Namespace
Drupal\rate\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}