You are here

public function KeyDeleteForm::getQuestion in Key 8

Overrides EntityDeleteFormTrait::getQuestion

File

src/Form/KeyDeleteForm.php, line 18

Class

KeyDeleteForm
Builds the form to delete a Key.

Namespace

Drupal\key\Form

Code

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