You are here

public function ConfirmMultiForm::getDescription in Simplenews 8

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

Returns additional text to display as a description.

Return value

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

Overrides ConfirmFormBase::getDescription

File

src/Form/ConfirmMultiForm.php, line 25

Class

ConfirmMultiForm
Implements a multi confirmation form for simplenews subscriptions.

Namespace

Drupal\simplenews\Form

Code

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