public function ConfirmRemovalForm::getDescription in Simplenews 3.x
Same name and namespace in other branches
- 8.2 src/Form/ConfirmRemovalForm.php \Drupal\simplenews\Form\ConfirmRemovalForm::getDescription()
- 8 src/Form/ConfirmRemovalForm.php \Drupal\simplenews\Form\ConfirmRemovalForm::getDescription()
Returns additional text to display as a description.
Return value
\Drupal\Core\StringTranslation\TranslatableMarkup The form description.
Overrides ConfirmFormBase::getDescription
File
- src/
Form/ ConfirmRemovalForm.php, line 32
Class
- ConfirmRemovalForm
- Implements a removal confirmation form for simplenews subscriptions.
Namespace
Drupal\simplenews\FormCode
public function getDescription() {
return $this
->t('This action will unsubscribe you from the newsletter mailing list.');
}