MailFormatHelper::htmlToTextPad

protected static function MailFormatHelper::htmlToTextPad

protected static MailFormatHelper::htmlToTextPad($text, $pad, $prefix = '')

Pads the last line with the given character.

Parameters

string $text: The text to pad.

string $pad: The character to pad the end of the string with.

string $prefix: (optional) Prefix to add to the string.

Return value

string The padded string.

See also

\Drupal\Core\Mail\MailFormatHelper::htmlToText()

File

core/lib/Drupal/Core/Mail/