You are here

public function ProductFeatureDeleteForm::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_product/src/Form/ProductFeatureDeleteForm.php, line 53

Class

ProductFeatureDeleteForm
Defines the attribute option delete form.

Namespace

Drupal\uc_product\Form

Code

public function getConfirmText() {
  return $this
    ->t('Delete');
}