public function CurrencyDeleteForm::getQuestion in Currency 8.3
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/ Currency/ CurrencyDeleteForm.php, line 36
Class
- CurrencyDeleteForm
- Provides the currency deletion form.
Namespace
Drupal\currency\Entity\CurrencyCode
public function getQuestion() {
$currency = $this
->getEntity();
return $this
->t('Do you really want to delete %label?', array(
'%label' => $currency
->label(),
));
}