You are here

public function SearchApiPageDeleteForm::getQuestion in Search API Pages 8

Overrides EntityDeleteFormTrait::getQuestion

File

src/Form/SearchApiPageDeleteForm.php, line 17

Class

SearchApiPageDeleteForm
Builds the form to delete Search page entities.

Namespace

Drupal\search_api_page\Form

Code

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