public function DemoResetConfirm::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/ DemoResetConfirm.php, line 66
Class
- DemoResetConfirm
- Returns demo_reset_confirm from to make sure that you really want to reset the configuration.
Namespace
Drupal\demo\FormCode
public function getQuestion() {
return t('Do you want to reset the site?');
}