You are here

public function EmailDeleteForm::getQuestion in Courier 2.x

Same name and namespace in other branches
  1. 8 src/Form/EmailDeleteForm.php \Drupal\courier\Form\EmailDeleteForm::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/Form/EmailDeleteForm.php, line 16

Class

EmailDeleteForm
Form for deleting an email.

Namespace

Drupal\courier\Form

Code

public function getQuestion() {
  return t('Are you sure you want to delete this email?');
}