You are here

public function EckEntityBundleDeleteConfirm::getQuestion in Entity Construction Kit (ECK) 8

Overrides EntityDeleteFormTrait::getQuestion

1 call to EckEntityBundleDeleteConfirm::getQuestion()
EckEntityBundleDeleteConfirm::buildForm in src/Form/EntityBundle/EckEntityBundleDeleteConfirm.php
Form constructor.

File

src/Form/EntityBundle/EckEntityBundleDeleteConfirm.php, line 47

Class

EckEntityBundleDeleteConfirm
Provides a form for ECK entity bundle deletion.

Namespace

Drupal\eck\Form\EntityBundle

Code

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