You are here

public function IndexDeleteConfirmForm::getQuestion in Search API 8

Overrides EntityDeleteFormTrait::getQuestion

File

src/Form/IndexDeleteConfirmForm.php, line 45

Class

IndexDeleteConfirmForm
Defines a confirm form for deleting an index.

Namespace

Drupal\search_api\Form

Code

public function getQuestion() {
  return $this
    ->t('Are you sure you want to delete the search index %name?', [
    '%name' => $this->entity
      ->label(),
  ]);
}