You are here

public function RngContactTypeDeleteForm::getQuestion in RNG Contact 8

Overrides EntityDeleteFormTrait::getQuestion

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

File

src/Form/RngContactTypeDeleteForm.php, line 17

Class

RngContactTypeDeleteForm
Form controller to delete a contact type.

Namespace

Drupal\rng_contact\Form

Code

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