You are here

public function FulfillmentMethodDeleteForm::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 EntityConfirmFormBase::getConfirmText

File

shipping/uc_fulfillment/src/Form/FulfillmentMethodDeleteForm.php, line 31

Class

FulfillmentMethodDeleteForm
Builds the form to delete fulfillment method entities.

Namespace

Drupal\uc_fulfillment\Form

Code

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