You are here

public function ConfirmRemovalForm::getQuestion in Simplenews 8

Same name and namespace in other branches
  1. 8.2 src/Form/ConfirmRemovalForm.php \Drupal\simplenews\Form\ConfirmRemovalForm::getQuestion()
  2. 3.x src/Form/ConfirmRemovalForm.php \Drupal\simplenews\Form\ConfirmRemovalForm::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/ConfirmRemovalForm.php, line 18

Class

ConfirmRemovalForm
Implements a removal confirmation form for simplenews subscriptions.

Namespace

Drupal\simplenews\Form

Code

public function getQuestion() {
  return t('Confirm remove subscription');
}