Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 7.x
»
mail.inc
»
drupal_html_to_text
Search Drupal 7.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 7.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
7 calls to drupal_html_to_text()
ContactSitewideTestCase::testAutoReply
in drupal/
modules/
contact/
contact.test
Tests auto-reply on the site-wide contact form.
DefaultMailSystem::format
in drupal/
modules/
system/
system.mail.inc
Concatenate and wrap the e-mail body for plain-text mails.
DrupalHtmlToTextTestCase::assertHtmlToText
in drupal/
modules/
simpletest/
tests/
mail.test
Helper function for testing
drupal_html_to_text
().
DrupalHtmlToTextTestCase::testDrupalHtmlToTextBlockTagToNewline
in drupal/
modules/
simpletest/
tests/
mail.test
Test that text separated by block-level tags in HTML get separated by (at least) a newline in the plaintext version.
DrupalHtmlToTextTestCase::testVeryLongLineWrap
in drupal/
modules/
simpletest/
tests/
mail.test
Tests that
drupal_html_to_text
() wraps before 1000 characters.
hook_mail
in drupal/
modules/
system/
system.api.php
Prepare a message based on parameters; called from
drupal_mail
().
MailTestCase::format
in drupal/
modules/
simpletest/
tests/
mail.test
Concatenate and wrap the e-mail body for plain-text mails.