You are here

public function CurrencyLocaleDeleteForm::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/CurrencyLocale/CurrencyLocaleDeleteForm.php, line 36

Class

CurrencyLocaleDeleteForm
Provides a currency currency locale delete form.

Namespace

Drupal\currency\Entity\CurrencyLocale

Code

public function getQuestion() {
  return $this
    ->t('Do you really want to delete %label?', array(
    '%label' => $this
      ->getEntity()
      ->label(),
  ));
}