6 calls to MailFormatHelper::htmlToText() in Zircon Profile 8
- ContactSitewideTest::testAutoReply in core/
modules/ contact/ src/ Tests/ ContactSitewideTest.php - Tests auto-reply on the site-wide contact form.
- HtmlToTextTest::assertHtmlToText in core/
modules/ system/ src/ Tests/ Mail/ HtmlToTextTest.php - Helper function to test \Drupal\Core\Mail\MailFormatHelper::htmlToText().
- HtmlToTextTest::testDrupalHtmlToTextBlockTagToNewline in core/
modules/ system/ src/ Tests/ Mail/ HtmlToTextTest.php - Test that text separated by block-level tags in HTML get separated by (at least) a newline in the plaintext version.
- HtmlToTextTest::testVeryLongLineWrap in core/
modules/ system/ src/ Tests/ Mail/ HtmlToTextTest.php - Tests \Drupal\Core\Mail\MailFormatHelper::htmlToText() wrapping.
- MessageViewBuilder::view in core/
modules/ contact/ src/ MessageViewBuilder.php - Builds the render array for the provided entity.
- PhpMail::format in core/
lib/ Drupal/ Core/ Mail/ Plugin/ Mail/ PhpMail.php - Concatenates and wraps the email body for plain-text mails.