Function Hook_health_check_email->html_to_plain_text

Definitions

sources/hooks/systems/health_checks/email.php

  • Normalise some HTML text into plain-text which would typically match plain-text e-mails.
  • Visibility: protected
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: string

Parameters

Name Type Default Set Range Description
$html LONG_TEXT required parameter N/A N/A The HTML to normalise

Return

  • The plain-text and normalised version of the HTML
  • Type: string
  • Set: N/A
  • Range: N/A