public function PaymentStatusDeleteForm::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/ PaymentStatus/ PaymentStatusDeleteForm.php, line 45
Class
- PaymentStatusDeleteForm
- Provides the payments status deletion form.
Namespace
Drupal\payment\Entity\PaymentStatusCode
public function getQuestion() {
return $this
->t('Do you really want to delete %label?', array(
'%label' => $this
->getEntity()
->label(),
));
}