6 calls to MailFormatHelper::htmlToText()
- ContactSitewideTest::testAutoReply in core/
modules/ contact/ tests/ src/ Functional/ ContactSitewideTest.php - Tests auto-reply on the site-wide contact form.
- HtmlToTextTest::assertHtmlToText in core/
modules/ system/ tests/ src/ Unit/ Mail/ HtmlToTextTest.php - Helper function to test \Drupal\Core\Mail\MailFormatHelper::htmlToText().
- HtmlToTextTest::testDrupalHtmlToTextBlockTagToNewline in core/
modules/ system/ tests/ src/ Unit/ Mail/ HtmlToTextTest.php - Tests the conversion of block-level HTML tags to plaintext with newlines.
- HtmlToTextTest::testVeryLongLineWrap in core/
modules/ system/ tests/ src/ Unit/ Mail/ HtmlToTextTest.php - Tests \Drupal\Core\Mail\MailFormatHelper::htmlToText() wrapping.
- PhpMail::format in core/
lib/ Drupal/ Core/ Mail/ Plugin/ Mail/ PhpMail.php - Concatenates and wraps the email body for plain-text mails.
- SymfonyMailer::format in core/
lib/ Drupal/ Core/ Mail/ Plugin/ Mail/ SymfonyMailer.php
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.