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