You are here

public function SpamspanInterface::replaceBareEmailAddresses in SpamSpan filter 8

Same name and namespace in other branches
  1. 8.2 src/SpamspanInterface.php \Drupal\spamspan\SpamspanInterface::replaceBareEmailAddresses()

Obfuscation based on PATTERN_EMAIL_BARE.

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 89

Class

SpamspanInterface
Spamspan interface.

Namespace

Drupal\spamspan

Code

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