You are here

public function UserEmailVerification::getMailBody in User email verification 8

Return verification mail body.

Return value

string Verification mail body.

Overrides UserEmailVerificationInterface::getMailBody

1 call to UserEmailVerification::getMailBody()
UserEmailVerification::initEmailMessage in src/UserEmailVerification.php
Fill email message with data. A hook_mail() handler.

File

src/UserEmailVerification.php, line 185

Class

UserEmailVerification
User email verification helper service.

Namespace

Drupal\user_email_verification

Code

public function getMailBody() {
  return trim((string) $this->config
    ->get('mail_body'));
}