public function OptionDeleteForm::getConfirmText in Ubercart 8.4
Returns a caption for the button that confirms the action.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.
Overrides ConfirmFormBase::getConfirmText
File
- uc_attribute/
src/ Form/ OptionDeleteForm.php, line 29
Class
- OptionDeleteForm
- Defines the attribute option delete form.
Namespace
Drupal\uc_attribute\FormCode
public function getConfirmText() {
return $this
->t('Delete');
}