public function ClearConfirmForm::getQuestion in MongoDB 8.2
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
- modules/
mongodb_watchdog/ src/ Form/ ClearConfirmForm.php, line 71
Class
- ClearConfirmForm
- Provides a confirmation form before clearing out the logs.
Namespace
Drupal\mongodb_watchdog\FormCode
public function getQuestion() : TranslatableMarkup {
return $this
->t('Are you sure you want to delete the recent logs?');
}