Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 9.x
»
mail.inc
»
drupal_html_to_text
Search Drupal 9.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 9.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
Deprecated
7 calls to drupal_html_to_text()
ContactSitewideTest::testAutoReply
in drupal/
core/
modules/
contact/
lib/
Drupal/
contact/
Tests/
ContactSitewideTest.php
Tests auto-reply on the site-wide contact form.
hook_mail
in drupal/
core/
modules/
system/
system.api.php
Prepare a message based on parameters; called from
drupal_mail
().
HtmlToTextTest::assertHtmlToText
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Mail/
HtmlToTextTest.php
Helper function for testing
drupal_html_to_text
().
HtmlToTextTest::testDrupalHtmlToTextBlockTagToNewline
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
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 drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Mail/
HtmlToTextTest.php
Tests that
drupal_html_to_text
() wraps before 1000 characters.
MailTest::format
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Mail/
MailTest.php
Concatenate and wrap the e-mail body for plain-text mails.
PhpMail::format
in drupal/
core/
lib/
Drupal/
Core/
Mail/
PhpMail.php
Concatenates and wraps the e-mail body for plain-text mails.