Insecure.php in Drupal 9
File
core/modules/editor/tests/modules/src/EditorXssFilter/Insecure.php
View source
<?php
namespace Drupal\editor_test\EditorXssFilter;
use Drupal\filter\FilterFormatInterface;
use Drupal\editor\EditorXssFilterInterface;
class Insecure implements EditorXssFilterInterface {
public static function filterXss($html, FilterFormatInterface $format, FilterFormatInterface $original_format = NULL) {
return $html;
}
}
Classes
Name |
Description |
Insecure |
Defines an insecure text editor XSS filter (for testing purposes). |