You are here

public function SavedSearchTypeDeleteConfirmForm::getQuestion in Search API Saved Searches 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 EntityDeleteFormTrait::getQuestion

1 call to SavedSearchTypeDeleteConfirmForm::getQuestion()
SavedSearchTypeDeleteConfirmForm::buildForm in src/Form/SavedSearchTypeDeleteConfirmForm.php
Form constructor.

File

src/Form/SavedSearchTypeDeleteConfirmForm.php, line 106

Class

SavedSearchTypeDeleteConfirmForm
Provides a form for deleting saved search types.

Namespace

Drupal\search_api_saved_searches\Form

Code

public function getQuestion() {
  return $this
    ->t('Do you really want to delete this saved search type?');
}