public function AgreementDeleteForm::getQuestion in Agreement 8.2
Same name and namespace in other branches
- 3.0.x 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\EntityCode
public function getQuestion() {
$this
->t('Are you sure you want to permanently delete this agreement? All agreement records will be removed.');
}