protected static Xss::needsRemoval($html_tags, $elem)
Whether this element needs to be removed altogether.
Parameters
$html_tags: The list of HTML tags.
$elem: The name of the HTML element.
Return value
bool TRUE if this element needs to be removed.
File
core/lib/Drupal/Component/Utility/Xss.php, line 325
Class
Xss Provides helper to filter for cross-site scripting.
Namespace
Drupal\Component\Utility
Code
protected static function needsRemoval($html_tags, $elem) {
return !isset($ht