public static function Xss::getHtmlTagList

public static Xss::getHtmlTagList()

Gets the standard list of HTML tags allowed by Xss::filter().

Return value

array The list of HTML tags allowed by Xss::filter().

File

core/lib/Drupal/Component/Utility/Xss.php, line 343

Class

Xss
Provides helper to filter for cross-site scripting.

Namespace

Drupal\Component\Utility

Code

public static function getHtmlTagList() {
  return static::$htmlTags;
}

© 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::getHtmlTagList/8.1.x