public function TransactionTypeDeleteForm::getQuestion in Transaction 8
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
1 call to TransactionTypeDeleteForm::getQuestion()
- TransactionTypeDeleteForm::buildForm in src/
Form/ TransactionTypeDeleteForm.php - Form constructor.
File
- src/
Form/ TransactionTypeDeleteForm.php, line 40
Class
- TransactionTypeDeleteForm
- Builds the form to delete transaction type entities.
Namespace
Drupal\transaction\FormCode
public function getQuestion() {
return $this
->t('Are you sure you want to delete %name?', [
'%name' => $this->entity
->label(),
]);
}