You are here

public function PaymentDeleteForm::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/Payment/PaymentDeleteForm.php, line 46

Class

PaymentDeleteForm
Provides the payment deletion form.

Namespace

Drupal\payment\Entity\Payment

Code

public function getQuestion() {
  return $this
    ->t('Do you really want to delete payment #@payment_id?', array(
    '@payment_id' => $this
      ->getEntity()
      ->id(),
  ));
}