You are here

public function ConfirmRemovalForm::getDescription in Simplenews 8

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

Code

public function getDescription() {
  return t('This action will unsubscribe you from the newsletter mailing list.');
}