function Insecure::filterXss
Same name in other branches
- 8.9.x core/modules/editor/tests/modules/src/EditorXssFilter/Insecure.php \Drupal\editor_test\EditorXssFilter\Insecure::filterXss()
- 10 core/modules/editor/tests/modules/editor_test/src/EditorXssFilter/Insecure.php \Drupal\editor_test\EditorXssFilter\Insecure::filterXss()
- 11.x core/modules/editor/tests/modules/editor_test/src/EditorXssFilter/Insecure.php \Drupal\editor_test\EditorXssFilter\Insecure::filterXss()
Overrides EditorXssFilterInterface::filterXss
File
-
core/
modules/ editor/ tests/ modules/ editor_test/ src/ EditorXssFilter/ Insecure.php, line 16
Class
- Insecure
- Defines an insecure text editor XSS filter (for testing purposes).
Namespace
Drupal\editor_test\EditorXssFilterCode
public static function filterXss($html, FilterFormatInterface $format, FilterFormatInterface $original_format = NULL) {
// Don't apply any XSS filtering, just return the string we received.
return $html;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.