You are here

public function ApiKeyDeleteConfirmForm::getQuestion in Services API Key Authentication 8.2

Same name and namespace in other branches
  1. 3.0.x src/Form/ApiKeyDeleteConfirmForm.php \Drupal\services_api_key_auth\Form\ApiKeyDeleteConfirmForm::getQuestion()
  2. 2.0.x src/Form/ApiKeyDeleteConfirmForm.php \Drupal\services_api_key_auth\Form\ApiKeyDeleteConfirmForm::getQuestion()

Overrides EntityDeleteFormTrait::getQuestion

File

src/Form/ApiKeyDeleteConfirmForm.php, line 45

Class

ApiKeyDeleteConfirmForm
Defines a confirm form for deleting a server.

Namespace

Drupal\services_api_key_auth\Form

Code

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