You are here

public function DemoConfigResetConfirm::getQuestion in Demonstration site (Sandbox / Snapshot) 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

File

src/Form/DemoConfigResetConfirm.php, line 84

Class

DemoConfigResetConfirm
This class return the form demo_config_reset_confirm to make sure that you are about to reset your configuration.

Namespace

Drupal\demo\Form

Code

public function getQuestion() {
  return t('Do you want to reset the site?');
}