You are here

public function EdgeEntityDeleteForm::getQuestion in Apigee Edge 8

Overrides EntityDeleteFormTrait::getQuestion

File

src/Entity/Form/EdgeEntityDeleteForm.php, line 116

Class

EdgeEntityDeleteForm
Default entity delete form implementation for Apigee Edge entities.

Namespace

Drupal\apigee_edge\Entity\Form

Code

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