You are here

public function EmailConfirmerResponseForm::getDescription in Email confirmer 8

Returns additional text to display as a description.

Return value

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

Overrides EntityConfirmFormBase::getDescription

File

src/Form/EmailConfirmerResponseForm.php, line 19

Class

EmailConfirmerResponseForm
Email confirmation response form.

Namespace

Drupal\email_confirmer\Form

Code

public function getDescription() {
  return $this
    ->config('email_confirmer.settings')
    ->get('confirmation_response.questions.' . $this->entity
    ->getStatus());
}