You are here

public function ConfirmAddForm::getDescription in Simplenews 8

Same name and namespace in other branches
  1. 8.2 src/Form/ConfirmAddForm.php \Drupal\simplenews\Form\ConfirmAddForm::getDescription()
  2. 3.x src/Form/ConfirmAddForm.php \Drupal\simplenews\Form\ConfirmAddForm::getDescription()

Returns additional text to display as a description.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form description.

Overrides ConfirmFormBase::getDescription

File

src/Form/ConfirmAddForm.php, line 32

Class

ConfirmAddForm
Implements a add confirmation form for simplenews subscriptions.

Namespace

Drupal\simplenews\Form

Code

public function getDescription() {
  return t('You can always unsubscribe later.');
}