protected static Xss::needsRemoval($html_tags, $elem)
Whether this element needs to be removed altogether.
$html_tags: The list of HTML tags.
$elem: The name of the HTML element.
bool TRUE if this element needs to be removed.
protected static function needsRemoval($html_tags, $elem) { return !isset($html_tags[strtolower($elem)]); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Component!Utility!Xss.php/function/Xss::needsRemoval/8.1.x