You are here

public function ConfigPagesClearConfirmationForm::getQuestion in Config Pages 8

Same name and namespace in other branches
  1. 8.3 src/Form/ConfigPagesClearConfirmationForm.php \Drupal\config_pages\Form\ConfigPagesClearConfirmationForm::getQuestion()
  2. 8.2 src/Form/ConfigPagesClearConfirmationForm.php \Drupal\config_pages\Form\ConfigPagesClearConfirmationForm::getQuestion()

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/Form/ConfigPagesClearConfirmationForm.php, line 27

Class

ConfigPagesClearConfirmationForm
Action on clear ConfigPage submit form.

Namespace

Drupal\config_pages\Form

Code

public function getQuestion() {
  return t('Do you want to delete %id?', [
    '%id' => $this->id,
  ]);
}