public function SpamspanInterface::replaceEmailAddressesWithOptions in SpamSpan filter 8
Same name and namespace in other branches
- 8.2 src/SpamspanInterface.php \Drupal\spamspan\SpamspanInterface::replaceEmailAddressesWithOptions()
Obfuscation based on PATTERN_EMAIL_WITH_OPTIONS.
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 102
Class
- SpamspanInterface
- Spamspan interface.
Namespace
Drupal\spamspanCode
public function replaceEmailAddressesWithOptions($text, &$altered = NULL);