public function SearchLogClearDataForm::getQuestion in Search Log 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/ SearchLogClearDataForm.php, line 85
Class
- SearchLogClearDataForm
- Defines a confirmation form to confirm deletion of search logs.
Namespace
Drupal\search_log\FormCode
public function getQuestion() {
return $this
->t('Do you want to delete all the search log data?');
}