public function SpamspanInterface::replaceMailtoLinks in SpamSpan filter 8
Same name and namespace in other branches
- 8.2 src/SpamspanInterface.php \Drupal\spamspan\SpamspanInterface::replaceMailtoLinks()
Obfuscation based on PATTERN_MAILTO.
Parameters
string $text: Text obfuscate.
bool $altered: Sets this to true if any obfuscation occurred.
Return value
string The obfuscated text.
File
- src/
SpamspanInterface.php, line 115
Class
- SpamspanInterface
- Spamspan interface.
Namespace
Drupal\spamspanCode
public function replaceMailtoLinks($text, &$altered = NULL);