You are here

function gdpr_long_text_sanitize in General Data Protection Regulation 7

Long text sanitize callback.

1 string reference to 'gdpr_long_text_sanitize'
LongTextSanitizer.inc in modules/gdpr_dump/plugins/sanitizer/LongTextSanitizer.inc

File

modules/gdpr_dump/plugins/sanitizer/LongTextSanitizer.inc, line 16

Code

function gdpr_long_text_sanitize($input) {
  if (empty($input)) {
    return $input;
  }
  $output = gdpr_long_text_remote_generator($input);
  if ($output === $input) {
    $output = gdpr_long_text_local_generator($input);
  }
  return $output;
}