You are here

public function SpamspanInterface::replaceEmailAddressesWithOptions in SpamSpan filter 8.2

Same name and namespace in other branches
  1. 8 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\spamspan

Code

public function replaceEmailAddressesWithOptions($text, &$altered = NULL);