public function ConfirmRemovalForm::getQuestion in Simplenews 8.2
Same name and namespace in other branches
- 8 src/Form/ConfirmRemovalForm.php \Drupal\simplenews\Form\ConfirmRemovalForm::getQuestion()
- 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\FormCode
public function getQuestion() {
return $this
->t('Confirm remove subscription');
}