You are here

public function ProductBundleTypeDeleteForm::getConfirmText in Commerce Product Bundle 8

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/ProductBundleTypeDeleteForm.php, line 31

Class

ProductBundleTypeDeleteForm
Builds the form to delete product bundle type entities.

Namespace

Drupal\commerce_product_bundle\Form

Code

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