public function PaymentRefundForm::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/ PaymentRefundForm.php, line 27
Class
- PaymentRefundForm
- Provides the payment refund form.
Namespace
Drupal\payment\Entity\PaymentCode
public function getQuestion() {
return $this
->t('Do you really want to refund payment #@payment_id?', array(
'@payment_id' => $this
->getEntity()
->id(),
));
}