You are here

public function PaymentMethodConfigurationDeleteForm::getQuestion in Payment 8.2

Returns the question to ask the user.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form question. The page title will be set to this value.

Overrides ConfirmFormInterface::getQuestion

File

src/Entity/PaymentMethodConfiguration/PaymentMethodConfigurationDeleteForm.php, line 45

Class

PaymentMethodConfigurationDeleteForm
Provides the payment method configuration deletion form.

Namespace

Drupal\payment\Entity\PaymentMethodConfiguration

Code

public function getQuestion() {
  return $this
    ->t('Do you really want to delete %label?', array(
    '%label' => $this
      ->getEntity()
      ->label(),
  ));
}