You are here

public function AgreementDeleteForm::getQuestion in Agreement 3.0.x

Same name and namespace in other branches
  1. 8.2 src/Entity/AgreementDeleteForm.php \Drupal\agreement\Entity\AgreementDeleteForm::getQuestion()

Returns the question to ask the user.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form question. The page title will be set to this value.

Overrides ConfirmFormInterface::getQuestion

File

src/Entity/AgreementDeleteForm.php, line 18

Class

AgreementDeleteForm
Agreement entity delete form.

Namespace

Drupal\agreement\Entity

Code

public function getQuestion() {
  $this
    ->t('Are you sure you want to permanently delete this agreement? All agreement records will be removed.');
}